Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have used a message box in the auto open macro that prompts to
update tthe data or not. It ahould be placed at the beginning of your auto open macro 'message box to update or not Dim Msg, Title, Response As String Msg = "Do you want to update the data?" Title = "Update new data" Response = MsgBox(Msg, vbYesNo + vbQuestion, Title) If Response = vbNo Then Exit Sub ' Quit the macro End If On Apr 3, 5:22*pm, Phil Smith wrote: I want a Macro to run when a spreadsheet is opened SOME OF THE TIME. *I know about Auto_Open but it runs everytime you open the spreadsheet. *I do not want this. *I want to be able to decide, based on a command line call, whether or not to run the macro in question. Excel 2003. Ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro code to put series name next to individual line in line grap | Charts and Charting in Excel | |||
Run Macro from Command line | Excel Discussion (Misc queries) | |||
Run macro from command line | Excel Programming | |||
Form not unloading before next code line | Excel Programming | |||
Macro launch - Button vs Manual launch , has different results. | Excel Programming |