Filtering a column using a VBA script/commandbutton

Franklienovice

New Member
Joined
Jul 16, 2011
Messages
2
I am using Windows XP with Excel 2007, I am a complete novice to VBA and am trying to find a script that will help me to do the following<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
I have a large excel file that has multiply columns, and 1729 rows, I want to do the following, <o:p></o:p>
Programme a commandbutton to unhide a sheet called “Info” then clear any filters they may be in place, then to go column “I” which contains lines <o:p></o:p>
Similar to the below<o:p></o:p>
<o:p> </o:p>
AMBER 187432<o:p></o:p>
ANTICIPA 475482 <o:p></o:p>
ANTIPODES 077241 B<o:p></o:p>
APP UN 177174<o:p></o:p>
ARABELLA 1305 C<o:p></o:p>
ARABELLA 1305 L<o:p></o:p>
ARABIAN 133631 <o:p></o:p>
ARCTIC 190321 <o:p></o:p>
AZURA 201126 <o:p></o:p>
BELLA 141608<o:p></o:p>
BIANCA 201362 <o:p></o:p>
<o:p> </o:p>
And filter it looking for all lines with say ie “APP 177174”<o:p></o:p>
<o:p> </o:p>
Then I want to have another commandbutton that removes the filter , hides the sheet called “info” and returns to the original page ie “Front page”<o:p></o:p>
thank you in advance for any help you can give me
Franklienovice
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,585
Messages
6,179,702
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top