ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting Zoom according to User on a network (https://www.excelbanter.com/excel-programming/377282-setting-zoom-according-user-network.html)

Corey

Setting Zoom according to User on a network
 
Is it possible to set a Zoom level when opening a workbook, but the user on
a network?

How can i code it if able?

--
Regards
Corey



Gary Keramidas

Setting Zoom according to User on a network
 
this may work:

Private Sub Worksheet_Activate()
If UCase(Environ("UserName")) = "COREY" Then ' put the login name here
ActiveWindow.Zoom = 85
Else

ActiveWindow.Zoom = 100
End If

End Sub

--


Gary


"Corey" wrote in message
...
Is it possible to set a Zoom level when opening a workbook, but the user on a
network?

How can i code it if able?

--
Regards
Corey





All times are GMT +1. The time now is 11:17 AM.

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