Hi Guys,
I'm currently trying to write a vba macro that would create a new worksheet in an existing excel file. This new worksheet must be named: Deals [date of yesterday] apart from mondays, where the worksheet must be named Deals date of 3 days ago (the friday before the monday);
Here's what I've came up with:
But of course, it isn't working 
I haven't had any classes on vba so the above must be full of mistakes. Please feel free to correct them, I would really appreciate it.
Thanks a lot
CHeers
Bookmarks