View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
dominicb[_15_] dominicb[_15_] is offline
external usenet poster
 
Posts: 1
Default how do you open a file read-only?


Good afternoon Mark

Try this

Workbooks.Open Filename:= "C:\TestFile.xls", ReadOnly:=True

The ReadOnly function does seem to be documented, but not to a great
extent. But it works.

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=376533