Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have this code ' Load Three sheets iFilesUsedCounter = 0 Do While iFilesUsedCounter < 9 ' Open AFMA WorkBook sFileName = AFMAFiles(iFileCounter).sFileName ActiveWorkbook.Save 'Close and save Averaging file Workbooks.Open sAFMAPathName & sFileName iFilesUsedCounter = iFilesUsedCounter + 3 Windows(sFileName).Activate Application.CutCopyMode = False 'Clear Clipboard ActiveWindow.Close SaveChanges:=False 'Close without saving AFMA file iFileCounter = iFileCounter - 1 Loop Which works on a good day. If the network is running slow is get a 'Unable to Open file' or 'The file is corrupt & Cannot be opened' Is their a way to check if the file is fully open before closing it and checking if the file is fully closed before opening the next one Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
EXCEL SLOW - USING NETWORK ON SELECT FUNCTIONS | Excel Discussion (Misc queries) | |||
Excel slow to save to network drive | Excel Discussion (Misc queries) | |||
How to speed up slow network access in office 2003 | Excel Discussion (Misc queries) | |||
Opening files from Network resource extremely slow | Excel Discussion (Misc queries) | |||
Excel Slow saving across Network. | Excel Discussion (Misc queries) |