macro to set zoom properties of each tab

Hi Experts using excel 2010

Need a macro to set the zoom into worksheet tab properties of each to to as follows
1. Sheet 1 = 80%
2.sheet 2 = 110%
3 sheet 3 = 70%
4. Sheet 4 = 50%
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

windows(1).Zoom = 80
windows(1).Zoom = 110
windows(1).Zoom = 70
windows(1).Zoom = 50

Open in new window

Martin LissOlder than dirtCommented:
You should probably add Application.ScreenUpdating = False before that code and Application.ScreenUpdating = True after it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
route217JuniorAuthor Commented:
Hi Experts...I added this.code to the module..Thisworkbook and not working...
1. is your workbook macro enabled? (file extension = XLSM)
2. Did you place the code inside a SUB...END SUB structure?
3. How are you invoking the code?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.