I am presently using the code below to convert a worksheet into a PDF and then automatically save it to a specified location on a shared drive. The down side to the code below is that it must be modified each year to accomodate for a new FY. I am trying to figure out a different way of saving the file so that the code does not need to be changed each year.
The year (highlighted in red below) of the file is located in cell "F6" on worksheet "Menu". The date range (also highlighted below) for this particular worksheet is located in cell "B9" of worksheet "Menu". Is there a way to modify the code below so that rather than tell it to save in folder "2012", subfolder "01 = 061911 - 070211", that it would instead look at "F6" and "B9" and know where to save it based on their values?
Bookmarks