Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open password for excel files in VBscript

Status
Not open for further replies.

lambin

Programmer
Jan 24, 2008
2
IT
Hi anyone,
I need to create an open password for excel files. What is the syntax in VBscript? Thanks
 
Could you elaborate on what you require as that sentence didnt make sense to me.
 
objExcel.ActiveWorkbook.SaveAs FileName, FileFormat, Password, WriteResPassword, ReadOnlyRecommended, CreateBackup, AddToMru, TextCodepage, TextVisualLayout, Local

You may want to look at the documentation or use a Macro to record the commands you'll need.

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top