Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default remote module

i am creating an excel template document, using VBA to help make data entry easier. my problem is that the template file is becoming very large. i am wondering if it is possible to create a public module that is not linked to any one file, but that can be accessed by any file. This way my template (and all documents created using it) will not be so large

thank
karin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default remote module

Karin,

Modules must always exist inside of a workbook. (You can export a
module to a text file, but then it is just a text file, and you
can't call its procedures.) You might want to consider writing
all the common procedures in a module in an Add-In, and have all
the client workbooks reference that add-in.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"karin" wrote in message
...
i am creating an excel template document, using VBA to help

make data entry easier. my problem is that the template file is
becoming very large. i am wondering if it is possible to create
a public module that is not linked to any one file, but that can
be accessed by any file. This way my template (and all documents
created using it) will not be so large.

thanks
karin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default remote module

try using Personal.xl

----- karin wrote: ----

i am creating an excel template document, using VBA to help make data entry easier. my problem is that the template file is becoming very large. i am wondering if it is possible to create a public module that is not linked to any one file, but that can be accessed by any file. This way my template (and all documents created using it) will not be so large

thank
karin
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
CLASS MODULE & SIMPLE MODULE FARAZ QURESHI Excel Discussion (Misc queries) 1 September 7th 07 09:32 AM
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM
remote links mcarrington Excel Worksheet Functions 1 September 22nd 05 02:52 AM
arrays - module to module mike Excel Programming 3 February 25th 04 08:56 PM
Variable from a sheet module in a class module in XL XP hglamy[_2_] Excel Programming 2 October 14th 03 05:48 PM


All times are GMT +1. The time now is 04:21 AM.

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"