Hi All,
I need to open a file with yesterdays date except on a Monday when I need to open the Friday file.
I have the following code that opens last Sundays but not sure how to manipulate it to return Friday date when it today is Monday.
My original code is Sub Test2 which returns yesterdays date but I forgot we don't produce files on the weekend.
[/CODE]Please Login or Register to view this content.
Any help appreciated
Cheers
Dean
Bookmarks