PC Review


Reply
Thread Tools Rate Thread

Accessing External Module

 
 
sck352@gmail.com
Guest
Posts: n/a
 
      5th Feb 2008
I have several excel files which are all identical in what they do but
all contain different data (each one is a different year) and they
have to remain separate files. Using a script in a module it populates
each sheet. Works great but the problem is that the modules in all of
the files are identical and whenever i need to change the code, i have
to go into each file and copy/paste the new code in. To run the code
each sheet has a button which activated Sub Populate() in the code. Is
there a way for me to put the code into a separate file in a different
location so that the can all share the same code?

Thanks!
 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      5th Feb 2008
hi
yes. put the code in a personal.xls file and put the file in the xlstart
folder so that it will open when excel opens. the personal.xls file is
usually hidden but all macro in the personal.xls file are available for any
file. many users put their personal UDF in thier personal.xls also.

regards
FSt1

"(E-Mail Removed)" wrote:

> I have several excel files which are all identical in what they do but
> all contain different data (each one is a different year) and they
> have to remain separate files. Using a script in a module it populates
> each sheet. Works great but the problem is that the modules in all of
> the files are identical and whenever i need to change the code, i have
> to go into each file and copy/paste the new code in. To run the code
> each sheet has a button which activated Sub Populate() in the code. Is
> there a way for me to put the code into a separate file in a different
> location so that the can all share the same code?
>
> Thanks!
>

 
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
Accessing code within an external module in the same assembly Sathyaish Microsoft Dot NET Framework 0 20th Nov 2005 09:25 PM
Accessing code within an external module in the same assembly Sathyaish Microsoft Dot NET 0 20th Nov 2005 09:25 PM
Accessing code within an external module in the same assembly Sathyaish Microsoft C# .NET 0 20th Nov 2005 09:25 PM
Accessing code within an external module in the same assembly Sathyaish Microsoft VB .NET 0 20th Nov 2005 09:25 PM
Accessing a VBA module from VB.Net/CSharp Microsoft Dot NET 2 28th Nov 2003 08:50 AM


Features
 

Advertising
 

Newsgroups
 


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