Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello and thanks for the reply
That did not work - before I went to the trouble of writing code to check for open workbooks and then activating one of them I tried it with a hard coded defined workbook ("Book9") and it did activate the workbook but I am still getting the same error. It has to do with running the code from the Commandbar button - when I run the code via Tools/Macro/ and select the macro name - the code runs fine - so I think there is something with trying to close a workbook with a Commandbar button - at least that is what it looks like to me. Thanks, Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run Time Error 1004 Application-defined or object-defined error forsimple loop? Need help with what's wrong? | Excel Programming | |||
Export a chart in a GIF file. Run-time error '1004': Application-defined or object-defined error; | Excel Programming | |||
Copying A Range of Cells From one Sheet to Another - Error Application Defined or Object Defined | Excel Programming | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming |