Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have created a macro in an Excel file which uses the data from several other Excel files and sheets. It gets the information from these other files and puts them in the new file. The problem is that, the other files need to be open at the time when the macro is running and trying to access them! If they are closed, it gives an error as RUN TIME ERROR 9: SUBSCRIPT OUT OF RANGE. I want the macro to run smoothly, accessing the data in the other files without giving any errors and without even opening them. Because opening them will slow down the system and I will see a lot of window switching in front of my eyes!! Is there a command which I can add at the beginning of the macro to disable the opening of the files, at the same time enabling access to their data? Or is there another way of solving this problem. Please help, as it is very urgent. Thanks in advance. Berj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to access multiple Excel files | Excel Discussion (Misc queries) | |||
Opens 2 files the same | Excel Discussion (Misc queries) | |||
Excel Opens two files | Excel Discussion (Misc queries) | |||
Access.Application.Quit - opens Access again then won't close - He | Excel Programming | |||
Macro to Access External Files | Excel Programming |