Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 185
Default Combobox_change event fires when a workbooks is saved

Paul

The workbook_Beforesave() event has a SaveAsUI parameter you can check and
if it is 'SaveAs' you can either

1) Switch off events (as previously advised)
2) Use the cancel parameter to cancel the save if it's a 'SaveAs'

If SaveAsUI=True
Cancel=true

That sort of thing

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.excelusergroup.org
web: www.nickhodge.co.uk





"Paul W Smith" wrote in message
...
I have now nailed it down to happening when a SaveAs... is done. When a
Save occurs the event does not fire!!!

Can this event not be fired whena SaveAs occurs?




"Paul W Smith" wrote in message
...
I have a problem and it is based on not udnerstanding why a
Combobox_change event fires when a workbooks is saved.

I have activex combobox on a sheet, when this box changes other actions
fire based on the selection from the control. One of these is to clear
ranges in the workbook.

All this works fine.

However when I close the workbook, the combobox_change event fires which
clear the ranges.

I am confused as to why the combobox_change event fires!!!!!

I want to save the workbook without the combobox_change event firing.

Any ideas anyone?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box change event fires twice Smurfette18 Excel Programming 4 December 20th 07 06:39 PM
Combobox_Change event fires on workbook close Geoff Excel Programming 3 December 17th 07 08:30 PM
ComboBox.Clear method calling ComboBox_Change event? Clayman Excel Programming 2 August 1st 07 03:52 PM
ComboBox_Change Event to Populate another Combox Tobi Excel Programming 4 October 31st 06 11:34 PM
Combobox_change event problem Shawn G.[_2_] Excel Programming 2 August 18th 05 01:37 PM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"