Chippy -
Thanks for the info. I took your advice for #1 and was able to get it to work perfectly!
Now I am struggling with #2. I am using Excel 2010 and do not have the calendar form. I am trying to utilize the Date/Time picker and sort of "cheaped out" by linking the Date/Time picker value selected to a cell and then based my IF statement on the value of the cell.
I created a new ".PDF" document and saved it to the folder whose contents I want to list on 7/27/12 to use as a test for the date selected.
If I structure my IF statement as follows:
When I select 7/26/12 as my date and run the Macro, only files created prior to the date selected are shown.
Just for kicks I tried to structure the statement "backwards"
When 7/26/12 is selected as my date and the Macro is run with this code, no files show up!
What am I missing with the dates?
I've attached an Excel workbook with the updated version of my code.
Any help would be appreciated.
Bookmarks