ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Scrolling (https://www.excelbanter.com/excel-programming/417214-scrolling.html)

Art

Scrolling
 
Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?

Jim Thomlinson

Scrolling
 
While that sounds like it should be easy it is not. To catch the scrolling of
the mouse wheel requires using a bunch of API calls. While it should be
possible it will require more effort than you probably want to devote to
this...
--
HTH...

Jim Thomlinson


"art" wrote:

Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?


Art

Scrolling
 
And what about once I double click in the cell, the scrolling should work?
Does this make it easier?



"Jim Thomlinson" wrote:

While that sounds like it should be easy it is not. To catch the scrolling of
the mouse wheel requires using a bunch of API calls. While it should be
possible it will require more effort than you probably want to devote to
this...
--
HTH...

Jim Thomlinson


"art" wrote:

Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?


Art

Scrolling
 
Can you give me any references for this?




"Jim Thomlinson" wrote:

While that sounds like it should be easy it is not. To catch the scrolling of
the mouse wheel requires using a bunch of API calls. While it should be
possible it will require more effort than you probably want to devote to
this...
--
HTH...

Jim Thomlinson


"art" wrote:

Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?


Jim Thomlinson

Scrolling
 
You can try using Google looking for API, VB, VBA, Scroll Wheel. Be prepared
to spend hours or more likely days on this and that assumes you have some
understanding of API's in general.
--
HTH...

Jim Thomlinson


"art" wrote:

Can you give me any references for this?




"Jim Thomlinson" wrote:

While that sounds like it should be easy it is not. To catch the scrolling of
the mouse wheel requires using a bunch of API calls. While it should be
possible it will require more effort than you probably want to devote to
this...
--
HTH...

Jim Thomlinson


"art" wrote:

Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?


Jim Thomlinson

Scrolling
 
Once you double click on the cell you enter edit mode. No events fire and no
code executes while you are in edit mode.
--
HTH...

Jim Thomlinson


"art" wrote:

And what about once I double click in the cell, the scrolling should work?
Does this make it easier?



"Jim Thomlinson" wrote:

While that sounds like it should be easy it is not. To catch the scrolling of
the mouse wheel requires using a bunch of API calls. While it should be
possible it will require more effort than you probably want to devote to
this...
--
HTH...

Jim Thomlinson


"art" wrote:

Which code do I use to add an amounts to a selected cell by scrolling the
mouse wheel?



All times are GMT +1. The time now is 07:30 AM.

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