ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro Prompt for Zoom size (https://www.excelbanter.com/excel-discussion-misc-queries/122714-macro-prompt-zoom-size.html)

ALEX

Macro Prompt for Zoom size
 
I use Excel 2000 and have several worksheets that run on several computers.
The screen pixel size tends to vary with users, so for some users my
worksheets will spill over the screen. How would a macro be written that
prompts the user for a zoom % so they can change the worksheet view w/o
having to go through the command steps. I use buttons for my macros, but do
not know VB.

Alex

Jim Thomlinson

Macro Prompt for Zoom size
 
This would probably be the easiest... Add this line to a macro

Application.Dialogs(xlDialogZoom).Show
--
HTH...

Jim Thomlinson


"Alex" wrote:

I use Excel 2000 and have several worksheets that run on several computers.
The screen pixel size tends to vary with users, so for some users my
worksheets will spill over the screen. How would a macro be written that
prompts the user for a zoom % so they can change the worksheet view w/o
having to go through the command steps. I use buttons for my macros, but do
not know VB.

Alex


ALEX

Macro Prompt for Zoom size
 
Thank you very much, it works great. I knew there had to be a simple way,
didn't think 1 code line would do it though. :)

Alex

"Jim Thomlinson" wrote:

This would probably be the easiest... Add this line to a macro

Application.Dialogs(xlDialogZoom).Show
--
HTH...

Jim Thomlinson


"Alex" wrote:

I use Excel 2000 and have several worksheets that run on several computers.
The screen pixel size tends to vary with users, so for some users my
worksheets will spill over the screen. How would a macro be written that
prompts the user for a zoom % so they can change the worksheet view w/o
having to go through the command steps. I use buttons for my macros, but do
not know VB.

Alex



All times are GMT +1. The time now is 04:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com