2

How can i create a macro to automatically Fit zoom to window.

I cant see an options to do this via a trigger.

Preferably i would like this macro to be triggered when the screen resolution changes, if not possible i would like it to be set when you change sheets.

rene
  • 41,474
  • 78
  • 114
  • 152
Matt
  • 14,906
  • 27
  • 99
  • 149

2 Answers2

1

Ctrl + m to open the macro editor

Sub FZTW    
    ActiveDocument.ActiveSheet.FitZoomToWindow  
End Sub

Set when sheet activate trigger macro FZTW

Matt
  • 14,906
  • 27
  • 99
  • 149
1

for anybody who searched for Fit Zoom to Window and end up here

  1. enable plugin in server and check show download link
  2. client now download the plugin& go to detail and view it with this around 96mb plugin.
  3. inside plugin top toolbar go to Menu->Zoom->Fit Zoom to Window

enter image description here enter image description here enter image description here

Iman
  • 17,932
  • 6
  • 80
  • 90