Forum Discussion
Can we somehow use this unlisted selection change event?
- Oct 31, 2016
Oh I see!
I dont think theres an event for this but you could probably get there with a combination something like..
Start a timer on the mouse down trigger, pull the status bar total every x milliseconds until it meets the value you want...?
Hi Ivan :)
Could you re-phrase your question please?
I think you're trying to ask about editing the information in the status bar, but I don't understand how it's related to the event trigger SelectionChange.
If you're just after your own values there, the closest I know if is to hide the default status bar items and then display your own custom text with Application.StatusBar. It sits on the left though I think, never tried pushing it to the right side over the standard summaries as I find them useful :p
Tiara
It seems that I didn't explain my problem good enough. :)
I don't want update or add something to status bar. We have SelectionChange and SheetSelectionChange events which triggers after I select some range and release mouse button or keyboard key. I know how to use them and their limitation.
I want event which triggers during range selecting, when number of selected cells is changing and mouse button is still pressed. If that event exists, it's probably used for updating values I yellowed on print screen in first post. If you press mouse button and start moving mouse you'll select more and more cells. After every new cell selected, Excel updates count/sum/average... values in status bar. If I try to do same with SelectionChange and SheetSelectionChange events, values will only be updated after I release mouse button.
I hope that my description is now more understandable. :)
Thanks for help. :)
- Tiara TanOct 31, 2016Iron Contributor
Oh I see!
I dont think theres an event for this but you could probably get there with a combination something like..
Start a timer on the mouse down trigger, pull the status bar total every x milliseconds until it meets the value you want...?
- Ivan BosnićNov 01, 2016Iron ContributorThanks. I totally forgout about timer usage. :)
- Tiara TanNov 01, 2016Iron Contributor
You're welcome :smileyvery-happy:
Best of luck in the main comp:smileyhappy: