Message 1 of 4
Realtime Zoom from Macro

Not applicable
02-15-2006
06:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to perform a realtime zoom while in a Macro.
I have a macro and want to be able to zoom in & out while the macro is still running.
I tried:
Me.Hide
Application.ZoomAll
Application.ZoomPickWindow
Me.Show
I'd rather do a realtime zoom, but the only way I can think of to do it is:
Me.Hide
ThisDrawing.SendCommand ("z" & vbCr & vbCr)
Me.Show
but this doesnt work either. The Me.Show brings sets focus back to the Macro before I have a chance to perform the zoom.
I have a macro and want to be able to zoom in & out while the macro is still running.
I tried:
Me.Hide
Application.ZoomAll
Application.ZoomPickWindow
Me.Show
I'd rather do a realtime zoom, but the only way I can think of to do it is:
Me.Hide
ThisDrawing.SendCommand ("z" & vbCr & vbCr)
Me.Show
but this doesnt work either. The Me.Show brings sets focus back to the Macro before I have a chance to perform the zoom.