Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ben ben is offline
external usenet poster
 
Posts: 7
Default Updating a Add-In on a network

Hi
I've read couple of threads regarding this issue but I am still a bit
confused.
Here is the problem
I have an add in that that is stored in a shared drive and which is
refereneced in a spreadsheet. Many users can use it at the same time
I don't want to ask the users to close down Excel before I can update
the add in.
I want to update(overwrite the addin) while it is in use by other users
(ie loaded into Excel via a workbook that reference this addin and not
open directly as a workbook). No one will open the add in directly as a
workbook (ie double clicking on it from Windows Explorer or from an
existing Excel using File/Open menu ).

What do I need to do ?
Make sure the .xla is always read only (attributes = R) ?
What sequence should I follow if changes in attributes is required ?
Do the changes in attribiutes have to be done programatically or can I
do that for Windows explorer ?
Making sure that it alway open through a workbook referencing the addin
?

Help much apreciated
B

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Updating a Add-In on a network

After a quick bit of testing, it seems if the addin is marked Read Only you
can delete/over write it whilst Excel is open and accessing the addin.
I assume the user would not be exposed to the updated version until they
restarted Excel.
Setting Read Only can be done in Explorer or with GetAttr/SetAttr in code.

NickHK

"ben" wrote in message
oups.com...
Hi
I've read couple of threads regarding this issue but I am still a bit
confused.
Here is the problem
I have an add in that that is stored in a shared drive and which is
refereneced in a spreadsheet. Many users can use it at the same time
I don't want to ask the users to close down Excel before I can update
the add in.
I want to update(overwrite the addin) while it is in use by other users
(ie loaded into Excel via a workbook that reference this addin and not
open directly as a workbook). No one will open the add in directly as a
workbook (ie double clicking on it from Windows Explorer or from an
existing Excel using File/Open menu ).

What do I need to do ?
Make sure the .xla is always read only (attributes = R) ?
What sequence should I follow if changes in attributes is required ?
Do the changes in attribiutes have to be done programatically or can I
do that for Windows explorer ?
Making sure that it alway open through a workbook referencing the addin
?

Help much apreciated
B



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Updating a Add-In on a network

An alternative is to use my automatically reversioning addin loader
http://www.DecisionModels.com/Downloads.htm

Charles
______________________
Decision Models
FastExcel 2.2 Beta now available
www.DecisionModels.com

"NickHK" wrote in message
...
After a quick bit of testing, it seems if the addin is marked Read Only
you
can delete/over write it whilst Excel is open and accessing the addin.
I assume the user would not be exposed to the updated version until they
restarted Excel.
Setting Read Only can be done in Explorer or with GetAttr/SetAttr in code.

NickHK

"ben" wrote in message
oups.com...
Hi
I've read couple of threads regarding this issue but I am still a bit
confused.
Here is the problem
I have an add in that that is stored in a shared drive and which is
refereneced in a spreadsheet. Many users can use it at the same time
I don't want to ask the users to close down Excel before I can update
the add in.
I want to update(overwrite the addin) while it is in use by other users
(ie loaded into Excel via a workbook that reference this addin and not
open directly as a workbook). No one will open the add in directly as a
workbook (ie double clicking on it from Windows Explorer or from an
existing Excel using File/Open menu ).

What do I need to do ?
Make sure the .xla is always read only (attributes = R) ?
What sequence should I follow if changes in attributes is required ?
Do the changes in attribiutes have to be done programatically or can I
do that for Windows explorer ?
Making sure that it alway open through a workbook referencing the addin
?

Help much apreciated
B





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
how do you set up a network. Merlin Setting up and Configuration of Excel 0 August 15th 07 05:12 PM
Using an Add In on a Network Phin Doyle Excel Discussion (Misc queries) 5 January 12th 07 05:23 PM
Network Issues Mick[_8_] Excel Programming 0 February 21st 05 03:47 PM
When updating a worksheet, how do I create a link updating the sa. Phlashh Excel Worksheet Functions 9 January 27th 05 06:05 PM
Copying files ...Network to Network Eric[_6_] Excel Programming 2 July 18th 03 08:59 PM


All times are GMT +1. The time now is 12:08 PM.

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

About Us

"It's about Microsoft Excel"