dwlerwill
Technical User
- May 25, 2001
- 329
Hi All
I have a VB program that opens up several excel spread sheets one at a time and looks for specific data. The program takes about 10 minutes to run (There is loads of data every day) but the problem I have is if while the program is running the user opens another spread sheet (Any even a blank one) the program then seems to switch from the spreadsheet it is running on to the newly opened one.
How can I stop this either by:
Stoping the user from Openening any other excel spread sheets or stopping VB flipping to the new excel workbook?
Your help is appreciated.
David Lerwill
"If at first you don't succeed go to the pub"
I have a VB program that opens up several excel spread sheets one at a time and looks for specific data. The program takes about 10 minutes to run (There is loads of data every day) but the problem I have is if while the program is running the user opens another spread sheet (Any even a blank one) the program then seems to switch from the spreadsheet it is running on to the newly opened one.
How can I stop this either by:
Stoping the user from Openening any other excel spread sheets or stopping VB flipping to the new excel workbook?
Your help is appreciated.
David Lerwill
"If at first you don't succeed go to the pub"