Is there a way to detect a mouse-right-click in Excel using VBA, particularly if the mouse-right-click occurs in a cell?
If not, is there a way to send a mouse-right-click to a particular toolbar item similar to a sendkeys method?
In case you're wondering what this is all about.... I have an Excel Add-in for OLAP analysis that refreshes its connections to OLAP cubes only when an end-user right-clicks on a cell within an olap analysis grid (comparable to a pivottable). I've tried recording a macro to capture this event unsuccessfully.
Any help will be greatly appreciated!
Thanks,
Pete
If not, is there a way to send a mouse-right-click to a particular toolbar item similar to a sendkeys method?
In case you're wondering what this is all about.... I have an Excel Add-in for OLAP analysis that refreshes its connections to OLAP cubes only when an end-user right-clicks on a cell within an olap analysis grid (comparable to a pivottable). I've tried recording a macro to capture this event unsuccessfully.
Any help will be greatly appreciated!
Thanks,
Pete