Plz use below code .
Dim A as String
...............
...............
A=inputbox("Enter name","Input")
Selection.Autofilter .........:=2, Criteria:=A
If we entered that variable 'A' , i willt take a as criteria rather than its
value.........
pls any suggestions ???????????????
Thanks in advance..............
Allah Hafiz ,Kamran Haider .
Date: Tue, 30 Dec 2008 18:14:29 -0800From: [email protected]:
$$Excel-Macros$$ How to use dynamic data in autofilter??To:
[email protected]
Hi,
I want to use the data in autofilter criteria, which entered by user through
inputbox...
Dim A as String
...............
...............
A=inputbox("Enter name","Input")
Selection.Autofilter .........:=2, Criteria:="=here i need that data-A",
...........
If we entered that variable 'A' , i willt take a as criteria rather than its
value.........
pls any suggestions ???????????????
Thanks in advance..............
Regards
Naveen Kumar M N
91-08-99728 10886
Email :[email protected]
Best Wishes-Karunaada
Kuvara_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx
--~--~---------~--~----~------------~-------~--~----~
Visit the blog to download Excel tutorials at
http://www.excel-macros.blogspot.com
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/excel-macros?hl=en
Visit & Join Our Orkut Community at
http://www.orkut.com/Community.aspx?cmm=22913620
Visit the blog to download Excel tutorials at
http://www.excel-macros.blogspot.com
To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com
To see the Daily Excel Tips, Go to:
http://exceldailytip.blogspot.com
-~----------~----~----~----~------~----~------~--~---