Jul 29, 2003 #1 vaneagle Technical User Apr 23, 2003 71 AU Hi, Is it possible with vba to open an xl workbook as read only when the file itself is not saved as a read only file ?
Hi, Is it possible with vba to open an xl workbook as read only when the file itself is not saved as a read only file ?
Jul 30, 2003 1 #2 DrBowes Programmer Jul 16, 2003 150 GB Workbooks.Open FileName:="C:\myfile.xls", ReadOnly:=True Look at the Open Method in help for more info. Upvote 0 Downvote
Workbooks.Open FileName:="C:\myfile.xls", ReadOnly:=True Look at the Open Method in help for more info.
Jul 30, 2003 Thread starter #3 vaneagle Technical User Apr 23, 2003 71 AU thanks for that DrBowes!! I had , Code: readonly = true I missed the colon!! Have a star!! Upvote 0 Downvote