Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
I have a macro that does various things and then saves the new spreadsheet under a new name. The code is as follows: Sheets("MON AFT").Select thisFilename = "C:\headoffice\" thisFilename = thisFilename & CStr(Range("BW3")) thisFilename = thisFilename & "_04_abcsheet" ActiveWorkbook.SaveAs thisFilename The users are not the most diligent and may access the original file and run the macro again. When it comes to save it tells them that the file already exists, do they want to overwrite? It's possible they will say no. If they do i get an error and the programming is exposed which contains details of the passwords. Is there a way of stopping this happening? Cheers Joe |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to retrive password protected worksheet but forgot password? | Excel Worksheet Functions | |||
cell object exposure outside of VBA | Excel Worksheet Functions | |||
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. | Excel Worksheet Functions | |||
bypass password when update linking of password protected file | Excel Discussion (Misc queries) | |||
VBa, Password protected sheet fails to get unprotected with the same password | Excel Programming |