I have this code
This works great, but it saves the .PDF to the location of the master file. How can I get it to save to my Desktop, for example?![]()
Please Login or Register to view this content.
I have this code
This works great, but it saves the .PDF to the location of the master file. How can I get it to save to my Desktop, for example?![]()
Please Login or Register to view this content.
If it is only used by you, you can specify the path, if it is to work with any users desktop then it will have to be slightly more complex. For YOUR desktop:
replace ActiveWorkbook.Path with "c:\users\yourusername\desktop" where you replace the word yourusername with your actual username
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
Actually... a better way would probably be to dim a variable as string... call it myDesk or something... and then :
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
I think that this is what Arkadi means for any and all computers.
Change the name "Test Report.pdf" to your filename.
![]()
Please Login or Register to view this content.
yeah jolivanes, I had forgotten about the scripting shell option and was thinking about environment variables, but just after my first post remembered the easy route![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks