LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Prevent Extreme Zoom Out. Mouse Wheel Event?

I posted this question a couple of days ago. I didnt get a response, and
wanted to put this question back at the 'top of the list'. Basically, I am
trying to come up with a way of preventing a user from zooming out too far.
Is there a way to limit the user to say 30% of zoom. I have this:


If ActiveWindow.Zoom <= 30 Then
ActiveWindow.Zoom = 40
MsgBox("Already Zoomed Out as Far as Possible", _
vbOKCancel, "Max. Zoom")
End If

Somehow, the event has to be fired by a mouse wheel event (I believe thats
what it is called). Ive done quite a bit of research on this and all I can
come up with is some ways of doing this in Access, but not in Excel. Does
anyone know of a way to control the mouse wheel event in Excel?

Thanks,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zoom with Scroll wheel Noonie12 Excel Discussion (Misc queries) 4 April 30th 09 10:13 PM
Fix for mouse wheel in VBE XP Excel Programming 7 May 18th 06 07:02 PM
PS/2 wheel mouse in VBA George Excel Discussion (Misc queries) 1 November 3rd 05 04:44 PM
Mouse Wheel & Mouse Drivers Otto Moehrbach Excel Programming 3 May 7th 05 09:16 PM
my mouse wheel works the zoom jsmonje Excel Discussion (Misc queries) 3 December 2nd 04 12:41 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"