R
Rudy W.
Thanks Elwin, Deville and Cheryl,
Every answer gave a posible good solution.
In the meantime I found an other one:
The compress program moves the .xls file.
So testing if the .xls file was is gone seems a very easy
solution:
varExcelName = Dir(cExportPath & varFileName & ".xls",
vbDirectory)
Do While varExcelName <> ""
varExcelName = Dir(cExportPath & varFileName & ".xls",
vbDirectory)
Loop
Rudy W.
Every answer gave a posible good solution.
In the meantime I found an other one:
The compress program moves the .xls file.
So testing if the .xls file was is gone seems a very easy
solution:
varExcelName = Dir(cExportPath & varFileName & ".xls",
vbDirectory)
Do While varExcelName <> ""
varExcelName = Dir(cExportPath & varFileName & ".xls",
vbDirectory)
Loop
Rudy W.