Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to update .xlam file (add-in) while it is in use?

Hi!

I created an add-in in Excel 2007 (tool.xlam). I will have about 75
users using this add-in.

I know if the add-in file is in use (i.e. someone have Excel opened
and the add-in is installed), I can't update the file.

I will have to frequently update my add-in, and I don't want to ask
everyone to close excel to access the file.

Is there a way to share the xlam file or code it in a specific way?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to update .xlam file (add-in) while it is in use?

I'd try marking the tool.xlam as Readonly using windows Explorer.

But then I'd have to update my copy (in a different location). But that makes
sense to me. I'd be able to test or pause and come back to it without
disturbing anyone.

Then when it's finished, I could change the Readonly mark to read/write and
quickly(!) overwrite the file with my development copy of the addin.

Then mark it readonly once more.

If I recall correctly, I used to do this when we used xl2k. But you'll want to
do some testing to see if it works ok for you.

Mathieu936 wrote:

Hi!

I created an add-in in Excel 2007 (tool.xlam). I will have about 75
users using this add-in.

I know if the add-in file is in use (i.e. someone have Excel opened
and the add-in is installed), I can't update the file.

I will have to frequently update my add-in, and I don't want to ask
everyone to close excel to access the file.

Is there a way to share the xlam file or code it in a specific way?

Thanks!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to update .xlam file (add-in) while it is in use?

Wow, good idea. It works really fine with Excel 2007.

I just have to put my tool.xlam in read only, and I can replace it
with an updated version of tool.xlam (which must be read only for the
next update)...

I don't have to remove the read only property and quickly overwrite
the file.

Many thanks Dave!

On 19 mai, 16:04, Dave Peterson wrote:
I'd try marking the tool.xlam as Readonly using windows Explorer.

But then I'd have to update my copy (in a different location). *But that makes
sense to me. *I'd be able to test or pause and come back to it without
disturbing anyone.

Then when it's finished, I could change the Readonly mark to read/write and
quickly(!) overwrite the file with my development copy of the addin.

Then mark it readonly once more.

If I recall correctly, I used to do this when we used xl2k. *But you'll want to
do some testing to see if it works ok for you.





Mathieu936 wrote:

Hi!


I created an add-in in Excel 2007 (tool.xlam). I will have about 75
users using this add-in.


I know if the add-in file is in use (i.e. someone have Excel opened
and the add-in is installed), I can't update the file.


I will have to frequently update my add-in, and I don't want to ask
everyone to close excel to access the file.


Is there a way to share the xlam file or code it in a specific way?


Thanks!


--

Dave Peterson- Masquer le texte des messages précédents -

- Afficher le texte des messages précédents -


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to update .xlam file (add-in) while it is in use?

It's surprising that you don't have to remove the readonly mark before
overwriting the file with the updated version.

(I'd verify that again <vbg.)

But glad it worked for you (or some version!).

Mathieu936 wrote:

Wow, good idea. It works really fine with Excel 2007.

I just have to put my tool.xlam in read only, and I can replace it
with an updated version of tool.xlam (which must be read only for the
next update)...

I don't have to remove the read only property and quickly overwrite
the file.

Many thanks Dave!

On 19 mai, 16:04, Dave Peterson wrote:
I'd try marking the tool.xlam as Readonly using windows Explorer.

But then I'd have to update my copy (in a different location). But that makes
sense to me. I'd be able to test or pause and come back to it without
disturbing anyone.

Then when it's finished, I could change the Readonly mark to read/write and
quickly(!) overwrite the file with my development copy of the addin.

Then mark it readonly once more.

If I recall correctly, I used to do this when we used xl2k. But you'll want to
do some testing to see if it works ok for you.





Mathieu936 wrote:

Hi!


I created an add-in in Excel 2007 (tool.xlam). I will have about 75
users using this add-in.


I know if the add-in file is in use (i.e. someone have Excel opened
and the add-in is installed), I can't update the file.


I will have to frequently update my add-in, and I don't want to ask
everyone to close excel to access the file.


Is there a way to share the xlam file or code it in a specific way?


Thanks!


--

Dave Peterson- Masquer le texte des messages précédents -

- Afficher le texte des messages précédents -


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"excel "macros may be disabled" message using an xlam file frustrated Excel Worksheet Functions 2 July 13th 09 08:32 PM
Urgent Pls, how to convert an addin xlam file to xls worksheet in Ahmed Excel Discussion (Misc queries) 1 April 28th 09 06:25 PM
Custom Excel 2007 Tab disappears when editing an XLAM add-in file JeffreyW Excel Programming 10 April 8th 09 12:32 AM
labelprint.xlam file not found error appears when excel starts Dennis Wong Excel Discussion (Misc queries) 0 June 1st 08 05:58 AM
i want to update one excel file the other one update automaticaly Basant New Users to Excel 1 December 16th 06 12:50 AM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"