I can use
and also![]()
Please Login or Register to view this content.
But somehow, the combination always gives an error. Why ?![]()
Please Login or Register to view this content.
I can use
and also![]()
Please Login or Register to view this content.
But somehow, the combination always gives an error. Why ?![]()
Please Login or Register to view this content.
Last edited by jokkebal; 11-05-2018 at 11:19 AM.
Because SaveCopyAs only takes a file name argument. You can't change anything else about the file.
Everyone who confuses correlation and causation ends up dead.
Hi Rory,
Thanks for your reaction. Any solution ?
You'd have to use SaveAs and then reopen the original, or use SaveCopyAs, and open the copy, change the passwords and save and close it again.
Can I do all that via VBA, and finally have that file closed and my original file open ?
Put another way, can VBA do all this "in the background" ?
Yes. It just depends what state you want the current workbook left in.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks