View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
BSc Chem Eng Rick BSc Chem Eng Rick is offline
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?