Thanks Tom,
I thought there might be something like that.
"Tom Ogilvy" wrote:
> It can be marked as readonly by a process outside of Excel. Maybe it is a
> maintenance action performed on the server files.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Allen_N" <(E-Mail Removed)> wrote in message
> news:FD2D2A02-D3CC-49D3-8E19-(E-Mail Removed)...
> > Before going on vacation, I moved an Excel workbook and Custom.xls (where
> > the
> > macros it needs) to our group's server; I wanted to keep the data and the
> > macro source code in one place, for ease of maintenance. I found that by
> > placing a shortcut to the server-based Custom.xls in the local machines
> > XLSTART folder, the macros would be available to the local machine even
> > though they resided in a central location. After much testing (including
> > from
> > a reboot), I was entirely satisfied that everything worked.
> >
> > Today, opening the workbook generated a message that Custom.xls was
> > read-only or encrypted, and the macros would not run. How could this work
> > perfectly in testing and not at all a week later?
> >
> > I guess a more useful question is: what is the proper way to centralise
> > VBA
> > code? (I would like to be able to protect it from tampering, as well, if
> > possible.)
> >
> > Thanks!
> >
>
>
>
|