Good day
Can anyone please assist on how to save the active excel sheet as pdf to a location and also use cell "F5" as the file name.
Thanks;
Good day
Can anyone please assist on how to save the active excel sheet as pdf to a location and also use cell "F5" as the file name.
Thanks;
![]()
Please Login or Register to view this content.
Or another possibility
![]()
Please Login or Register to view this content.
The inherent weakness of the liberal society: a too rosy view of humanity.
Hi there the code works but I want to save it to a different location
Can you include a field where I can add the file location at
Both macros have a field for the location. Since you don't tell us what it is, we can't change it.
In Post #3, change "ThisWorkbook.Path" to the location you need like "C:\some folder name here\another folder name here" & "" & [F5] & ".PDF"
Use the same in the other code where it says Filename:=
I'm sorry I forgot to give you the file location address
C:\TSHEPO\COSTING REPORTS
Just use that path in the code given in jolivanes' post.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks