Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

CommandlineswitchesforExcel2007

Switch
workbookpath |filename

Description
Thisparameterdoesnotrequireaswitch.StartsExcelandopensthe specifiedfile. Example: excel.exe"c:\MyFolder\book1.xlsx"or excel.exehttp://MySite/Book1.xlsx

/rworkbook Opensaspecificworkbookasreadonly. path|filename Example: excel.exe/r"c:\MyFolder\book1.xlsx"or excel.exe/rhttp://MySite/Book1.xlsx /tworkbook StartsExcelandopensthespecifiedfileasatemplate. path|filename Example: excel.exe/t"c:\MyFolder\book_name.xlsx".or excel.exe/thttp://MySite/book_name.xlsx /nworkbook Like/t,startsExcelandopensthespecifiedfileasatemplate. path|filename Example: excel.exe/n"c:\MyFolder\book_name.xlsx".or excel.exe/nhttp://MySite/book_name.xlsx /eor/embed PreventstheExcelstartupscreenfromappearingandanewblankworkbook fromopening. Example:excel.exe/e /pworkbook path Specifiesafolderastheactiveworkingfolder(forexample,thefolderthatis pointedtointheSaveAsdialogbox). Example:excel.exe/p"c:\MyFolder" /sor/safemode ForcesExceltobypassallfilesthatarestoredinstartupdirectories,suchas

You might also like