Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I make a VBA procedure available to all workbooks?


How do I make a macro (VBA procedure that also uses a User Form
available to any existing or new workbook that I open or create
without having to open the workbook where the macro was originall
programme

--
ebsjunio
-----------------------------------------------------------------------
ebsjunior's Profile: http://www.excelforum.com/member.php...fo&userid=1519
View this thread: http://www.excelforum.com/showthread.php?threadid=26828

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do I make a VBA procedure available to all workbooks?

You can't. If it isn't open, you can't use its macros.

You could store it in Personal.xls which gets stored in XLStart, and opens
when Excel starts.

--

HTH

RP

"ebsjunior" wrote in message
...

How do I make a macro (VBA procedure that also uses a User Form)
available to any existing or new workbook that I open or create,
without having to open the workbook where the macro was originally
programmed


--
ebsjunior
------------------------------------------------------------------------
ebsjunior's Profile:

http://www.excelforum.com/member.php...o&userid=15197
View this thread: http://www.excelforum.com/showthread...hreadid=268284



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default How do I make a VBA procedure available to all workbooks?

You can't. The normal way to handle this is to put the code in a workbook
that's stored in your XLSTART directory, so it automatically loads when you
open Excel.

On Mon, 11 Oct 2004 15:24:03 -0500, ebsjunior
wrote:


How do I make a macro (VBA procedure that also uses a User Form)
available to any existing or new workbook that I open or create,
without having to open the workbook where the macro was originally
programmed


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
Help with a procedure to make things easier Bill Excel Discussion (Misc queries) 6 February 7th 10 09:59 PM
How do I make several workbooks work together? Elisabeth New Users to Excel 3 December 28th 09 03:57 PM
Procedure to make a dropdown list larger so it's easier to read Jack Oziel Excel Discussion (Misc queries) 4 December 26th 05 05:49 PM
Make Macro available to all new workbooks Kirk P. Excel Programming 3 June 11th 04 06:53 PM


All times are GMT +1. The time now is 01:33 PM.

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"