View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default Change Addin File Access to Readonly?

The command activeworkbook.changefileaccess

Yes, but an add-in is never the "active" workbook. If the code is in the
add-in than use ThisWorkbook.ChangeFileAccess. Else use
Workbooks("AddinName.xla").Change...

--
Jim
"Emil Vogel" wrote in message
...
| Hello all,
|
| i write a Addin for network working. My problem is the first user get a
| full access to the addin (the next users open the addin just in the
| readonly) modus. Is tehre any possiblity to open the addin allways as
| Readonly and just with a passwort you can get the full access? The
| command activeworkbook.changefileaccess... doesn´t work.
|
| thanks for your time