hi guys,
I want to open a file (Sam) if a a condition is fulfilled.
So, my file Sam.xls has a sheet named "Control" (veryhidden), the cell A1 has value.
When I open Sam file, the code checks another file DOT.xls (the user should not see this process) and if it finds the same value in Sheet2 (veryhidden), cell A1, the file Sam to be opened.
If the code does not match the values the Sam file to be closed, Sheet "CHIO" to be deleted and the application closed.
Sam.xls is located here
C:\Documents and Settings\wer\Desktop\Tim
DOT.xls is located here
C:\Documents and Settings\wer\Desktop\Tim\Tim1
I really appreciate your help!
Thank you in advance!
regards,Tim
Bookmarks