Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If you run this piece of code first you should be OK. It checks to se if the file already exists, and if so opens it, saves it withou password protection, closes it then deletes it. Not very elegant, but gets the job done. If Len(Dir("filename")) 0 Then Workbooks.Open "filename", writerespassword:="password" ActiveWorkbook.SaveAs "filename", writerespassword:="" ActiveWorkbook.Close Kill "filename" End I -- langere ----------------------------------------------------------------------- langerer's Profile: http://www.msusenet.com/member.php?userid=279 View this thread: http://www.msusenet.com/t-51196 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel template to calculate capital reserve funding %?? | Excel Discussion (Misc queries) | |||
How do I reserve a document | Excel Worksheet Functions | |||
attendance based pay for Army reserve | Excel Worksheet Functions | |||
Problem with a UDF im trying to write | Excel Worksheet Functions | |||
How do I set up a equipment replacement reserve schedule | Excel Worksheet Functions |