Macros

K

Kim Wim

I cannot determine how to write the language to overwrite
the existing file when performing "active workbook, file
save as".
Visual basic does not recognize overwrite:=true.
Or I may have not entered it in the correct place in the
code.
I currently have:
ActiveWorkbook.SaveAs FileName:="I:\LOCALGVT\Temp\2001
Trans\transmitz.xls" _
, FileFormat:=xlExcel5, Password:="",
WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False,
Overwritefile:=True

Any help is appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top