Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
vvv vvv is offline
external usenet poster
 
Posts: 2
Default how to create a zoom butom in vba excel

hey guys how do I create a button (vba code) that upon each click changes the
zoom of the workshet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 118
Default how to create a zoom butom in vba excel

Just insert the button on the spreadsheet and assign the following macro to
it. This macro will always zoom to 75% but you can set whatever you want.

Sub ZoomSheet()
ActiveWindow.Zoom = 75
End Sub

If this helps please click "Yes"
<<<<<<<<<<

"vvv" wrote:

hey guys how do I create a button (vba code) that upon each click changes the
zoom of the workshet?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. PK Excel Discussion (Misc queries) 0 July 20th 09 03:33 PM
Zoom in/Zoom out picture [email protected] Excel Programming 1 January 27th 08 04:19 PM
zoom in &zoom out in VBA User Form [email protected] Excel Programming 0 January 21st 08 04:59 AM
set excel zoom in 80 Julio Excel Programming 3 August 31st 05 10:06 PM
zoom in Excel Gary Brown Excel Discussion (Misc queries) 0 May 31st 05 11:49 PM


All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"