jamesraywebber
New Member
- Joined
- Nov 20, 2017
- Messages
- 15
So I have a report that is emailed to me daily, I have a macro enabled to save the files automatically to a location on my desktop (C:\Users\rwebber\Desktop\TSA Hourly Report) and the file saves as SSC Hourly Update "the date it was emailed". I would like to place a button on my page called "TSA Daily" so that all I have to do is click on it and it would copy all the info from "sheet1" to the sheet named "sheet2" in my new workbook.
The only issue I am having is that at the top cell B1 on TSA Daily had the date. So is it possible to have the formula or macro look in cell B1 on TSA daily to get the rest of the file name in C:\Users\rwebber\Desktop\TSA Hourly Report? (Ex. today is 11/20/2017, it would look for the file name "SSC Hourly Update 11-20-2017" and copy that "sheet1" over to "sheet2" in the "TSA Daily Email Template"? Any help would be greatly appreciated!
The only issue I am having is that at the top cell B1 on TSA Daily had the date. So is it possible to have the formula or macro look in cell B1 on TSA daily to get the rest of the file name in C:\Users\rwebber\Desktop\TSA Hourly Report? (Ex. today is 11/20/2017, it would look for the file name "SSC Hourly Update 11-20-2017" and copy that "sheet1" over to "sheet2" in the "TSA Daily Email Template"? Any help would be greatly appreciated!