PC Review


Reply
Thread Tools Rate Thread

How to distribute updated code of a addin to users?

 
 
Madiya
Guest
Posts: n/a
 
      27th Mar 2008
I have a addin used by several users. One of the sheet in addin is
used for recording data.
Now I have added some more functions and want to distribute the same
to users.
I can not ask users to just replace addin file coz it will affect the
existing records.
Also only one or two module is updated and rest of the module and
forms are same.
Problem here is that users are not experts and may goofeup.

Is there any way I can do it automatically?
Or any other better way?

Regards,
Madiya.
 
Reply With Quote
 
 
 
 
Ivyleaf
Guest
Posts: n/a
 
      27th Mar 2008
Hi Madiya,

One way would be to write some code in another book that updates the
code in your addin. You could then just assign that to the
Workbook_Open event of the new book so that all you have to do is send
it to the users, they open it and close it and all is done. Actually
you could also make it close itself even (remember to programatically
save the addin).

info can be found here: http://j-walk.com/ss/excel/tips/tip61.htm

Cheers,
Ivan.

On Mar 27, 6:06*pm, Madiya <madiya...@yahoo.co.uk> wrote:
> I have a addin used by several users. One of the sheet in addin is
> used for recording data.
> Now I have added some more functions and want to distribute the same
> to users.
> I can not ask users to just replace addin file coz it will affect the
> existing records.
> Also only one or two module is updated and rest of the module and
> forms are same.
> Problem here is that users are not experts and may goofeup.
>
> Is there any way I can do it automatically?
> Or any other better way?
>
> Regards,
> Madiya.


 
Reply With Quote
 
Ivyleaf
Guest
Posts: n/a
 
      27th Mar 2008
Just another note...

If you do go down this path, be aware that all installations of Office
since 97 (I think) will ban this by default, so you would have to also
provide users with instructions on how to temporarily disable the
security and then re-enable it (it would be a major security risk if
left open).

See this KB article for more info: http://support.microsoft.com/kb/q282830/

Cheers,

On Mar 27, 6:49*pm, Ivyleaf <ica...@gmail.com> wrote:
> Hi Madiya,
>
> One way would be to write some code in another book that updates the
> code in your addin. You could then just assign that to the
> Workbook_Open event of the new book so that all you have to do is send
> it to the users, they open it and close it and all is done. Actually
> you could also make it close itself even (remember to programatically
> save the addin).
>
> info can be found here:http://j-walk.com/ss/excel/tips/tip61.htm
>
> Cheers,
> Ivan.
>
> On Mar 27, 6:06*pm, Madiya <madiya...@yahoo.co.uk> wrote:
>
>
>
> > I have a addin used by several users. One of the sheet in addin is
> > used for recording data.
> > Now I have added some more functions and want to distribute the same
> > to users.
> > I can not ask users to just replace addin file coz it will affect the
> > existing records.
> > Also only one or two module is updated and rest of the module and
> > forms are same.
> > Problem here is that users are not experts and may goofeup.

>
> > Is there any way I can do it automatically?
> > Or any other better way?

>
> > Regards,
> > Madiya.- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      27th Mar 2008
You have made the cardinal sin, you have merged the business logic and the
data into a single workbook. You should separate them, then any updates to
your addin are easily implemented.

I would suggest that you bite the bullet, break the application up, and
visit every user and break the data out. It will be time consuming to start,
but it will pay dividends in the future.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Madiya" <(E-Mail Removed)> wrote in message
news:3e3b31e1-0b9e-4d57-80de-(E-Mail Removed)...
>I have a addin used by several users. One of the sheet in addin is
> used for recording data.
> Now I have added some more functions and want to distribute the same
> to users.
> I can not ask users to just replace addin file coz it will affect the
> existing records.
> Also only one or two module is updated and rest of the module and
> forms are same.
> Problem here is that users are not experts and may goofeup.
>
> Is there any way I can do it automatically?
> Or any other better way?
>
> Regards,
> Madiya.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribute ocx with Excel Addin edzh Microsoft Excel Programming 0 17th Feb 2009 02:56 PM
How to distribute addin with a reference library checked? Caroline Microsoft Excel Programming 7 17th Oct 2008 03:55 PM
Distribute Addin Libby Microsoft Excel Programming 4 29th Feb 2008 05:52 PM
How to distribute a COM addin? Bingo Microsoft Outlook Program Addins 1 8th Oct 2004 03:17 PM
Distribute Excel Addin PC Microsoft Excel Programming 1 23rd Jul 2004 03:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:33 AM.