[URGENT] How to Trap Excel Window Scroll Events in VSTO

S

Surjya

Hi all,

Does anybody have any idea about how to trap the window scroll-bar
events and mouse scroll events for an excel sheet through VSTO?
We can also make do with any events related to change of visible range.

We are in real soup now. Any little help will be appreciated

Thanks in advance
~Surjya.
 
T

Tom Ogilvy

there are no built in events associated with any of what you describe. If
you want that type of control, my guess would be you would need to subclass
excel.

A workaround might be to use the selectionchange event, but the user can
scroll and not select and not trigger that event.
 
J

Jim Rech

how to trap the window scroll-bar events and mouse scroll events for an
excel sheet


There are no such events, at least none exposed by Excel. I think you'd
have to check the visible range periodically.

--
Jim
| Hi all,
|
| Does anybody have any idea about how to trap the window scroll-bar
| events and mouse scroll events for an excel sheet through VSTO?
| We can also make do with any events related to change of visible range.
|
| We are in real soup now. Any little help will be appreciated
|
| Thanks in advance
| ~Surjya.
|
 

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