Macro

Mandy27

New Member
Joined
Oct 18, 2011
Messages
1
Hello,

Hope someone can help me...
I have created a workbook with about 50 worksheets, each sheet contains the same data for different departments. I want to create a macro that will highlight all the sheets and filter the zeros out of a particular column and then hide that column but I cannot do this. Is this possible? I am sure I have used a similar sheet in an earlier version of excel which worked.

As I couldn't do this I created a macro by going through each sheet unselecting the zeros, quite long winded but it worked. However when I have added Septembers data and tried to ran the macro again it hasn't registered to filter the zeros out but registered to filter so the specific numbers are showing, which means any new numbers are not being picked up.

I am using Excel 2010.

Has anybody got any ideas?

Many Thanks

Mandy
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I'm assuming the code you are using now just cycles through each tab and does the needed functions. Can you post a part of that code that is working? Thanks.
 
Upvote 0

Forum statistics

Threads
1,225,067
Messages
6,182,657
Members
453,131
Latest member
BeLocke

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