Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SAveAs executes combobox code
Hi
We have a workbook that has a number of worksheets with comboboxes that have a list of values. When a selection is made, code is executed to change the appearance of the associated worksheet using the object_change event. Unfortunately when SaveAs is used, this event appears to be triggered and all the code is executed for all the worksheets with a combobox with a change event defined. This leaves the user faced with a different worksheet to the one they were observing prior to issuing the SaveAs command. Is there an easy way to stop this happening? Or is there an easy way to return them to the worksheet they were observing prior to issuing the SaveAs command? My testing has indicated that the _click event is also triggered by SaveAs, the AfterUpdate event is not triggered for SaveAs, but also not triggered by mouse selection from the list and the BeforeSave event is actioned prior to the _change event when using SaveAs. Thanks Alan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ComboBox Code | New Users to Excel | |||
VBA line of code executes in Immediate Window but not in Code Window | Excel Discussion (Misc queries) | |||
ComboBox code | Excel Worksheet Functions | |||
URGENT - Need date format for SaveAs code | Excel Programming | |||
Count # of Times Sub Executes | Excel Programming |