Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Addins - Is it necessary to duplicate changes in both the VBAProject AND the Addin

I create a VBAProject called test.xls
I compile an addin now called test.xla

I have 1 function and 1 subroutine in text.xls that work fine.

That function and subroutine are also duplicated in the module of
test.xla

I load the addin into a second file test2.xls

The function and the subroutine work fine in test2.xls

However, I notice that any changes I make to the addin have to be
replicated
in test.xls

It seems that, in order for the addin to work there must be identical
copies of the code in both the worksheet and its associated addin
file.

What am I missing? I don't think this is correct and want to know the
proper way of maintaining addin code.

Any help greatly appreciated

Jeff Stryer
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Addins - Is it necessary to duplicate changes in both the VBAProject AND the Addin

Jeff,

I used to do it this way. I don't bother anymore.

All I do is load the add-in, test it and make any changes to the code, and
then save the add-in project from the VBE.

You can always change the IsAddin property of the add-in to false, and that
will make the underlying workbook visible, and then you can save that as an
xls file if you want.

Just don't forget to save version copies, to allow regressing back if
necessary.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jeff Stryer" wrote in message
om...
I create a VBAProject called test.xls
I compile an addin now called test.xla

I have 1 function and 1 subroutine in text.xls that work fine.

That function and subroutine are also duplicated in the module of
test.xla

I load the addin into a second file test2.xls

The function and the subroutine work fine in test2.xls

However, I notice that any changes I make to the addin have to be
replicated
in test.xls

It seems that, in order for the addin to work there must be identical
copies of the code in both the worksheet and its associated addin
file.

What am I missing? I don't think this is correct and want to know the
proper way of maintaining addin code.

Any help greatly appreciated

Jeff Stryer



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
Addins-Slow loading of each individual Addin using Excel 2007 dplunkett Excel Discussion (Misc queries) 0 May 9th 09 07:16 AM
Excel addins disappearing from addin manager Tim Richardson Excel Discussion (Misc queries) 3 July 25th 05 09:13 AM
VBAProject Andy Excel Worksheet Functions 1 January 10th 05 02:53 PM
How to get rid of a VBAProject? GF[_2_] Excel Programming 1 February 20th 04 03:10 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM


All times are GMT +1. The time now is 03:57 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"