Im a little stuck
I have a VB set up that "Save As" the SHEET, with name based on the contents of a particular cell. - which works perfectly.
I then have another VB setup to save new file as a PDF.
The issue I'm coming across is that it is saving the PDF as the original excel
workbook's name, not the new "Save As" name
example
Sample.xls has contents in Cell A1, when Macro activated it saves the active sheet as a new file with the contents of A1 as its name. Lets say Bob.xls
Sample.XLS also has another Macro, which when activated, saves as a PDF.
This macro is carried over to the newly created bob.xls
Issue is, it is saving bob.xls's PDF, as sample.pdf.
Anyway I can get it to save as bob.pdf without having to create a new macro every time?
I have a VB set up that "Save As" the SHEET, with name based on the contents of a particular cell. - which works perfectly.
I then have another VB setup to save new file as a PDF.
The issue I'm coming across is that it is saving the PDF as the original excel
workbook's name, not the new "Save As" name
example
Sample.xls has contents in Cell A1, when Macro activated it saves the active sheet as a new file with the contents of A1 as its name. Lets say Bob.xls
Sample.XLS also has another Macro, which when activated, saves as a PDF.
This macro is carried over to the newly created bob.xls
Issue is, it is saving bob.xls's PDF, as sample.pdf.
Anyway I can get it to save as bob.pdf without having to create a new macro every time?