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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to open excel in readonly mode through VBscript 1

Status
Not open for further replies.

laks143

Programmer
Apr 20, 2009
20
GB
Hi,

i am trying to open Excel file which is in share.
i am getting the message as open file in readonly ,press yes to open in readonly
can any one knows how to open the excel in read only mode

what should i add for the following line of code
sheet.workbooks.open ("H:\PLANING\Onebox.xls")

Thanks in advance !!!
 
sheet.workbooks.open ("H:\PLANING\Onebox.xls",,True)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
thanks PHV,one more help ...

how can i make sure that the sheet is loaded completely.
This sheet will take atleast 4to 5 minutes to open.
do i need to wait the script for 5 min...how can i make it?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top