modify zoom

C

canvas

Hi,

I need to block the zoom utility so that it can´t be modified using
ctrl+mouse wheel when the file opens. I´m working with userforms and I
´ve tried this code:

Private Sub Worksheet_SelectionChange (ByVal Target As Range)
ActiveWindow.Zoom = 52
End Sub

But I think this isn´t right for forms and in general. Can this be
done? or is there any way to deactivate the ctrl key?

Thanks!!
 

Ask a Question

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.

Ask a Question

Top