Hi,
I have a script where I'm doing this:
objExcel.Workbooks.Open strFile
objExcel.Cells(EXCEL_DATA_ROW_START, EXCEL_DATA_COLUMN).Select
Which works (almost) perfectly... It just takes FoReVeR!!! I'm opening
the file from a UNC share, and I've timed it about 15 times, and the
average came out at 17 seconds for the first line, and 11 seconds for
the second! And all the second line does is select a cell!
am I using something incorrectly? Should it really take almost 30
seconds to open an Excel file and get the contents of a cell? (And this
is running on a P4, 3,0GHz, 2GB, XP SP2, so it can't be because it's a
slow machine!)
If I open the file manually, it takes an average of 4 seconds to open,
and then as quick as I can be with a mouse to select a cell and copy
its contents.
Any advice greatly appreciated! :)
Plankmeister