ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening workbook as read-only or write-enabled (https://www.excelbanter.com/excel-programming/351922-opening-workbook-read-only-write-enabled.html)

archiboy

opening workbook as read-only or write-enabled
 
can anyone please help me on this?

how can I use the open.workbook function to open a workbook as read-only or
specifically write-enabled.

any help would be greatly appreciated
thanks

DominicB

opening workbook as read-only or write-enabled
 
Good morning archiboy

Try this:

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

HTH

DominicB

"archiboy" wrote:

can anyone please help me on this?

how can I use the open.workbook function to open a workbook as read-only or
specifically write-enabled.

any help would be greatly appreciated
thanks



All times are GMT +1. The time now is 03:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com