View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kishi Kishi is offline
external usenet poster
 
Posts: 1
Default method 'SaveAs' of object '_Workbook' failed

I created a macro where the code has been password protected.
The macro uses the .SaveAs method and the FileFormat argument is set to
xlText.
This combination of the .SaveAs to xlText and the password protecting of the
macro causes it to fail.

Any idea how to get around this. I do not want the users to have access to
the code.