ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Scroll Event (https://www.excelbanter.com/excel-programming/421834-scroll-event.html)

JeremyJ

Scroll Event
 
Is there an Event for Scrolling in a Worksheet. I need to have a section of
the sheet change formats when it is scrolled left or right.

Leith Ross[_708_]

Scroll Event
 

Hello JeremyJ,

Excel doesn't expose the scroll event in VBA. It might be possible
using more advanced techniques, like Sub-Classing, to intercept the
event.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.thecodecage.com/forumz/member.php?userid=75
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=45354


JeremyJ

Scroll Event
 
I am interested. How does Sub-Classing work?

"Leith Ross" wrote:


Hello JeremyJ,

Excel doesn't expose the scroll event in VBA. It might be possible
using more advanced techniques, like Sub-Classing, to intercept the
event.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.thecodecage.com/forumz/member.php?userid=75
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=45354




All times are GMT +1. The time now is 05:45 PM.

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