Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
my .xls file runs a macro from a different file via "'M:\month\2000\kkhelp.xls'!project.project" Usually, when the macro has done its magic (exporting data etc), the macro saves the .xls file and closes it (and itself with it, of course). If the user hasnt inputted enough data to export, the macro tells the user that and ends via "exit sub". The problem is, that if this case occurs, the kkhelp.xls file is still open, even if no macros are running anymore. If someone else tries to run the macro while the first user is fixing his input data, the macro will bitch about the kkhelp.xls file being in use. Is there any way to stop this from happening, for example automatically close the kkhelp.xls when there are no macros running? Help appreciated, Amos |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2007 Macro to Open File, Delete Contents, Save New File | Excel Discussion (Misc queries) | |||
Macro to call a file that has a auto open macro in the file itself | Excel Programming | |||
Macro to insert values from a file and save another sheet as a .txt file | Excel Programming | |||
Automate open file, update links, run macro, close and save file | Excel Programming |