View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default Registry syntax to ensure that an addin is opened readonly ?

\r "c:\path\myaddin"

Oops! That should be a forward slash

/r "c:\path\myaddin.xla"

Regards,
Peter T


"Peter T" <peter_t@discussions wrote in message
...
Hi KeepItCool (Jurgen)

Where have you been !

Try the \r prefix in the OPENx

\r "c:\path\myaddin"

Regards,
Peter T

"keepITcool" wrote in message
...
It's been a long time since I've visited this forum where I used to be
a very frequent poster. Hi to all my old friends.

Question:
I must ensure that an addin is opened in readonly mode, by all users
except 1. This user must be able to maintain a few tables in the addin.

We've a plethore of problems since my client switched to excel 2007,
esspecially with swapping readonly/readwrite. Addin has been been
running for years all the way thru 2003. Ofcourse the client could set
RO fileattributes in explorer, but client is not too pc savvy....


I remember there's a trick with a startup switch in the registry's OPEN
entry, but can't find it.



Anyone?

Jurgen Volkerink
aka keepITcool.