i'm not sure if you can diable the zoom without rebuilding a custom standard toolbar (No Zoom). Maybe someone else knows
But you can create a workaround:
Try putting this code in the Workbook _open and Workbook_SheetChange event of 'ThisWorkbook' in your project Window
ActiveWindow.Zoom = 8
that way any changes made anywhere in the worksheet will trigger the zoom if its changed, they'll just get the hint and leave it alone
----- Dupi wrote: ----
Can somebody help me : to set zoom at 80% and the user
can't change the zoom (disabled zoom with macro)
You didn't follw the directions correctly: You can't create your own event...not like that anyway. You have to use the events generated by Excel. Do you understand what an Event is
read them again, it should look like this
sub workbook_open(
activewindow.zoom = 8
end sub
sub Workbook_SheetChange ("dont mess with these"
activewindow.zoom = 8
end sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.