Using mouse buttons other than left and right click

H

Harganek

Is there a way to program Excel to do something when the "back" button is
pressed on my "IntelliMouse Optical"?

I know that I could install the mouse driver, go into the Mouse control
panel and tell it to send a particular keystroke when I hit the "back"
button. Then if I assign a macro to that keystroke, I could get it to do
what I want. However, I want to make this generic so I can distribute this
code to others. I don't want to have to require my users to install the
driver and deal with the control panel.

For that matter, is there a way to capture the "forward" mouse click?
 
J

JLGWhiz

Any reason why a command button would not work? Youi could install it on a
tool bar as part of a customized Excel display for a specific workbook.
 
H

Harganek

I haven't quite figured out how to edit the new ribbon yet. But the main
reason I want it to be the back button is because I want it to respond like
the back button. I have a couple of workbooks where I have to follow
hyperlinks between sheets. I've written code to take me to the last location
before I followed a hyperlink, but I want a convenient way to execute it.
 

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