Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protected VB code - Run-time error
My code runs fine, however when I protect the code from viewing I get the
following run-time error: Method 'SaveAs' of object'_Workbook' failed Here is the only code I have for saving the file: ActiveWorkbook.SaveAs Filename:=SourceName, FileFormat:=xlTextPrinter, CreateBackup:=False TIA |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protected VB code - Run-time error
Couldn't duplicate the error. Mine saves as without a problem and retains
the protection. "AvalancheMike" wrote: My code runs fine, however when I protect the code from viewing I get the following run-time error: Method 'SaveAs' of object'_Workbook' failed Here is the only code I have for saving the file: ActiveWorkbook.SaveAs Filename:=SourceName, FileFormat:=xlTextPrinter, CreateBackup:=False TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problem w/ Code- Error 91 @ run-time | Excel Programming | |||
run time error 1004 on protected worksheet when I try to run macro | Excel Programming | |||
run time error '424' when I run this code | Excel Programming | |||
Run-time error from my code | Excel Programming | |||
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) | Excel Programming |