Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Creating an Excel macro library

Hello.

Is there a simple way to create an Excel macro library? Basically, I just
want to store a number of macros in a module behind a workbook and have the
public functions therein be available to be called from any other workbook
that I happen to have open. (For clarity, I DO NOT want to duplicate code
into each workbook in which I need the relevant function.)

For now, I would like to avoid creating a proper add-in using the .net
framework.

Can I achieve my goal by creating an xlam file and including a reference to
it from any workbook ? Or is there another simple approach?

Thank you.

Keith
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default Creating an Excel macro library

If it used on just your machine, use the "Personal Macro Workbook" which is
created the first time you record and save to this option. This workbook,
if it exists, is silently opened (remains hidden) with Excel and its modules
and code can be used in your other workbooks in the session. Take care with
naming conventions!

--

Regards,
Nigel




"Keith Howard" wrote in message
...
Hello.

Is there a simple way to create an Excel macro library? Basically, I just
want to store a number of macros in a module behind a workbook and have
the
public functions therein be available to be called from any other
workbook
that I happen to have open. (For clarity, I DO NOT want to duplicate code
into each workbook in which I need the relevant function.)

For now, I would like to avoid creating a proper add-in using the .net
framework.

Can I achieve my goal by creating an xlam file and including a reference
to
it from any workbook ? Or is there another simple approach?

Thank you.

Keith


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Creating an Excel macro library

On Thu, 2 Apr 2009 03:41:36 -0700, Keith Howard
wrote:

Can I achieve my goal by creating an xlam file and including a reference to
it from any workbook ?


Yes, and that is what I do.
--ron
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Creating an Excel macro library

Excel Add-In do not require .NET Framework.

http://www.ozgrid.com/VBA/excel-add-in-create.htm

If this post helps click Yes
---------------
Jacob Skaria


"Keith Howard" wrote:

Hello.

Is there a simple way to create an Excel macro library? Basically, I just
want to store a number of macros in a module behind a workbook and have the
public functions therein be available to be called from any other workbook
that I happen to have open. (For clarity, I DO NOT want to duplicate code
into each workbook in which I need the relevant function.)

For now, I would like to avoid creating a proper add-in using the .net
framework.

Can I achieve my goal by creating an xlam file and including a reference to
it from any workbook ? Or is there another simple approach?

Thank you.

Keith

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Creating an Excel macro library

Try this one for 2007
http://www.rondebruin.nl/qat.htm

Very easy to create a nice menu

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Keith Howard" wrote in message ...
Hello.

Is there a simple way to create an Excel macro library? Basically, I just
want to store a number of macros in a module behind a workbook and have the
public functions therein be available to be called from any other workbook
that I happen to have open. (For clarity, I DO NOT want to duplicate code
into each workbook in which I need the relevant function.)

For now, I would like to avoid creating a proper add-in using the .net
framework.

Can I achieve my goal by creating an xlam file and including a reference to
it from any workbook ? Or is there another simple approach?

Thank you.

Keith

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
creating a form to search for books in a library strawmanx Excel Discussion (Misc queries) 1 November 6th 09 01:40 PM
looking for an Excel macro function reference library for Excel 20 Max Excel Discussion (Misc queries) 3 December 28th 07 10:11 PM
Creating a data library Faiza New Users to Excel 1 August 4th 07 10:12 PM
Creating Add-in with library of functions Bryan[_10_] Excel Programming 7 August 17th 04 03:19 AM
Creating custom library of functions/macros sclark Excel Programming 2 January 23rd 04 10:21 PM


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