Halle forum users,
I have a vba code that works for saving as pdf but now I also want to use this code for saving as xlsm.
What do I have to change, I can't do it yet.
Please Login or Register to view this content.
Halle forum users,
I have a vba code that works for saving as pdf but now I also want to use this code for saving as xlsm.
What do I have to change, I can't do it yet.
Please Login or Register to view this content.
Hi,
Are you wanting to save just the range B1:F53 on the sheet as a new workbook, or do you want to save the whole workbook?
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
Hello Richard,
I want to save the whole workbook including the macro's.
Regards.
In that case then presumably
Please Login or Register to view this content.
It's working now but the filename is not okay. I need the name from cell C13!
..in that case for
"MyFilename"
just substitute
Sheet1.Range("C13").Value
obviously change the Sheet1 VBA sheet code name to whichever is the VBA sheet code name of the sheet with the C13 cell in question.
Note, I'm talking about the VBA Sheet CODE name NOT the Excel Sheet TAB name.
Thanks for your reply.
Grtz.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks