Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Autoload a book of macros ?

I have a couple of macros which I would like to be always available when I
use excel.
Can someone advise me the best method to make these available automatically
on start up of excel ( note - I do not want to auto run them, just make them
available).
I would also prefer not to always have a visible spreadsheet open in the
background if at all possible.

Many thanks for any help.

Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Autoload a book of macros ?

Hi,

1) To make the book non-visible:
- go in the vba editor (ALT+F11)
- in the Project Explorer window (if not visible goto menu View Project
Explorer), select the book containing the macros
- in the Properties Window (if not visible got menu View Properties
Window), set the AddIn property to True
- Click Save
NOw the book doesn't show in the XL interface.

2) To make the macros always available:\
- move the book to the Excel Start directory XLSTART:
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
-- replace <username by your login name.

--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"Richard" wrote:

I have a couple of macros which I would like to be always available when I
use excel.
Can someone advise me the best method to make these available automatically
on start up of excel ( note - I do not want to auto run them, just make them
available).
I would also prefer not to always have a visible spreadsheet open in the
background if at all possible.

Many thanks for any help.

Richard

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Autoload a book of macros ?

hi,
put them in a workbook. name it personal. save the personal workbook to the
xl start up directory. then hide it. it will open when you start excel.
for more info, in excel help type excel start up.

Regards
FSt1


"Richard" wrote:

I have a couple of macros which I would like to be always available when I
use excel.
Can someone advise me the best method to make these available automatically
on start up of excel ( note - I do not want to auto run them, just make them
available).
I would also prefer not to always have a visible spreadsheet open in the
background if at all possible.

Many thanks for any help.

Richard

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
what is the best book to learn macros indepth excel macros Excel Discussion (Misc queries) 4 April 19th 10 04:26 PM
Add-in AND Macros Not Showing Up in New Book SkyEyes Excel Discussion (Misc queries) 15 April 12th 07 04:38 PM
Open book, check for macros, close book Robin Hammond[_2_] Excel Programming 5 March 31st 05 06:09 PM
Add-in does not autoload on programmatic opening Vadim Rapp Excel Programming 1 December 30th 04 10:56 PM
AutoLoad UserForm ? MAS Excel Programming 1 July 29th 04 07:28 PM


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