P
Peter T
"Just for fun" turns out to be exactly what I wanted.
Glad you like it but ...
Don't hold your breath!
The point is there's no way of knowing what user has done, if anything,
without checking cells for changes, but what and when. If the form is loaded
as Modal user can't even click the normal just-for-fun 'menus'. If as
modeless user could have selected anything in the mean time or dismissed
those menus.
The only half practical way of doing what as I understand you want is along
the lines I suggested with xlDialogPatterns. Ie just before showing it trap
the current selection & visible range, with screenupdating false select some
single cell, store its colour format, show the dialog, if it returns true
read the new format X, restore that cell format & selection as original.
Work with X.
Regards,
Peter T
Glad you like it but ...
Now all I need to do is figure out how to get the value selected before
one of you responds and tells me...![]()
Don't hold your breath!
The point is there's no way of knowing what user has done, if anything,
without checking cells for changes, but what and when. If the form is loaded
as Modal user can't even click the normal just-for-fun 'menus'. If as
modeless user could have selected anything in the mean time or dismissed
those menus.
The only half practical way of doing what as I understand you want is along
the lines I suggested with xlDialogPatterns. Ie just before showing it trap
the current selection & visible range, with screenupdating false select some
single cell, store its colour format, show the dialog, if it returns true
read the new format X, restore that cell format & selection as original.
Work with X.
Regards,
Peter T