Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Repost - How to save Excel files which have passwords
This is a repost. Hope someone has come across this...
I have a Workbook which is password protected. Everytime someone runs this file, it reads other files and may update itself. I have added VBA codes to it to detect if anything changed. I would like to add code to it so that everytimes it changes (which can only happen if someone launches it), it will save itself without asking user for the password. Did not find any relevant info in Help. Any pointers from anyone? Android. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Repost - How to save Excel files which have passwords
Just add:
Activeworkbook.protect "yourpassword" Activeworkbook.save "Android" wrote in message ... This is a repost. Hope someone has come across this... I have a Workbook which is password protected. Everytime someone runs this file, it reads other files and may update itself. I have added VBA codes to it to detect if anything changed. I would like to add code to it so that everytimes it changes (which can only happen if someone launches it), it will save itself without asking user for the password. Did not find any relevant info in Help. Any pointers from anyone? Android. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Repost - How to save Excel files which have passwords
Cliff,
Thanks for this. -----Original Message----- Just add: Activeworkbook.protect "yourpassword" Activeworkbook.save "Android" wrote in message ... This is a repost. Hope someone has come across this... I have a Workbook which is password protected. Everytime someone runs this file, it reads other files and may update itself. I have added VBA codes to it to detect if anything changed. I would like to add code to it so that everytimes it changes (which can only happen if someone launches it), it will save itself without asking user for the password. Did not find any relevant info in Help. Any pointers from anyone? Android. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I save excel files as web connected files | Excel Discussion (Misc queries) | |||
Can I save Excel files of the same name in the same folder? | Excel Discussion (Misc queries) | |||
How to save Excel files which have passwords | Excel Programming | |||
How to save Excel files which have passwords | Excel Programming | |||
disable save query definition in VBA sorry repost | Excel Programming |