ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open File Read Only (https://www.excelbanter.com/excel-programming/310961-open-file-read-only.html)

Chris

Open File Read Only
 
Should be really easy, why wont this work...

Workbook.Open:=("N:\Common\Resale Pricing
Team\Templates\Template -
VendorReleaseDetail.xls",0,ReadOnly:=True)

VBA Help dosent give example of opening read only, and
their help as you type is fairly worthless unless you
already have VBA experience. Little help please :)

c-

Jim Rech

Open File Read Only
 
Workbooks.Open "c:\YourFilename.xls", False, True

--
Jim Rech
Excel MVP
"Chris" wrote in message
...
Should be really easy, why wont this work...

Workbook.Open:=("N:\Common\Resale Pricing
Team\Templates\Template -
VendorReleaseDetail.xls",0,ReadOnly:=True)

VBA Help dosent give example of opening read only, and
their help as you type is fairly worthless unless you
already have VBA experience. Little help please :)

c-





All times are GMT +1. The time now is 07:16 AM.

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