Ok, below is the code that goes out and gets the data from the specified files. When it goes to the "Code" sheet and gets the name of the sheet, I would like it to also make sure the modified date is proper. Imagine if the name is mistyped, it will error out. I want that same effect if the modified date is different than what is selected.
For instance, if I select "Cabinettttt1.xlsx", but the actual file name is "Cabinet1.xlsx", it will error out. I want that same affect to happen if the file has been modified from the date that I specify. So if I program the file name to be "Cabinet1.xlsx 12/2/2011 8:33 pm" and the actual file has been modified and resaved as "Cabinet1.xlsx 1/1/2012 1:00 am", it will error out because the names do not match.
Bookmarks