ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   "Save As" Causing a combobox change event to trigger? (https://www.excelbanter.com/excel-programming/389606-save-causing-combobox-change-event-trigger.html)

AJ Master

"Save As" Causing a combobox change event to trigger?
 
Hi all,

I'm having problems with a financial model using a drop-down type
combo box. When I select "save as" to the save the file under a new
name its triggering the event change code for my combo box, which in
turns changes formats on some pages.

Does anyone no of a way to stop the event from triggering when I use
"save as"??

Thanks in advance....AJ


JLGWhiz

"Save As" Causing a combobox change event to trigger?
 
Application.EnableEvents = False
ActiveWorkbook.SaveAs
Application.EnableEvents = True


"AJ Master" wrote:

Hi all,

I'm having problems with a financial model using a drop-down type
combo box. When I select "save as" to the save the file under a new
name its triggering the event change code for my combo box, which in
turns changes formats on some pages.

Does anyone no of a way to stop the event from triggering when I use
"save as"??

Thanks in advance....AJ




All times are GMT +1. The time now is 02:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com