Starryblue
New Member
- Joined
- May 18, 2011
- Messages
- 10
Hi all,
As I have to compare two spreadsheets on a daily basis, I have automated the opening of the files to be copied and pasted into a working sheet. For one of the files, it will be chucked into a backup folder over the weekend, hence on Monday, when I had to do comparisons with the Friday's file, my script is unable to call out from the backup folder..can someone help?
My current script is as below:
'
***Workbooks.OpenText Filename:="C:\My docs\xyz.xls"
How do I make it so that on Mondays, it will open up the file from the backup folder? (above path is default ) TIA!
As I have to compare two spreadsheets on a daily basis, I have automated the opening of the files to be copied and pasted into a working sheet. For one of the files, it will be chucked into a backup folder over the weekend, hence on Monday, when I had to do comparisons with the Friday's file, my script is unable to call out from the backup folder..can someone help?
My current script is as below:
'
***Workbooks.OpenText Filename:="C:\My docs\xyz.xls"
How do I make it so that on Mondays, it will open up the file from the backup folder? (above path is default ) TIA!