Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent running macro upon closing Excel

Excel runs Combobox-macro of active sheet every time I close the file. How
can I prevent this happening?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Prevent running macro upon closing Excel

What's the macro on the combobox ?

--
Regards

Juan Pablo González

"Deneb" wrote in message
lkaboutsoftware.com...
Excel runs Combobox-macro of active sheet every time I close the file. How
can I prevent this happening?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent running macro upon closing Excel

The macro is very simple:
Private Sub ComboBox1_Change()
Range("E1").FormulaR1C1 = "EUR"
End Sub

Original macro is more complex, but I have tried to find solution for this
problem with simplier macro. Every time I close workbook Excel runs this
macro and writes EUR to cell E1.
I'm using Excel2002/Windows2002.

Brgds,
Jussi

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
Auto running a macro on closing Jimmy D Excel Discussion (Misc queries) 6 November 22nd 07 01:58 AM
Prevent A Macro From Running If SpreadSheet is Filtered carl Excel Worksheet Functions 1 June 22nd 05 04:04 PM
Running a macro Upon Closing Confused Excel Fan Excel Programming 5 January 29th 05 11:08 AM
VBA Help - Running a macro when closing print preview carljonesuk[_2_] Excel Programming 3 February 9th 04 01:39 PM
Closing the Userform when macro is running SuperJas Excel Programming 5 December 10th 03 05:31 AM


All times are GMT +1. The time now is 11:08 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"