Hello lovely community
I have come across an issue that is seriously holding me back on VBA.
I have created a sub below to convert a worksheet into a PDF file in a specific location, with the current date and specific name of the person the file is about that will be displayed in cell B3 of the worksheet. Additionally, i have attempted to add an increment on the end, (1, 2, 3) should there be multiple files saved during a day. However, i keep encountering 2 errors.
Issue 1:
The increment is working but the file is not saving as a PDF.
Issue 2:
Strangely, only the first part of the persons name is saved as the file name in the folder. It needs to be saved as the full B3 cell value, even if there is a space between words in cell B3.
I have included the code below. Your help would be much appreciated.
Thank you
Betty
Please Login or Register to view this content.
Bookmarks