Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jo Coen
 
Posts: n/a
Default open workbook automatically

I'm building a set of macro's. These macro I want to use in all different
worksheets.
So I create a PERSONAL.XLS workbook which I save in XLSTART directory.

As soon I have one file in this directory, when excel opens, the default
blank workbook does not open anymore.
What do I need to do to have the macro's available via Personal.Xls and
still have the default Book1 opened automatically.

The second problem I have is that I want to distribute these macro's to
other persons within the company. The other people probably already have
macro's in their Personal.XLS. What is the best way to distribute to multiple
people macro's?
  #2   Report Post  
Norman Jones
 
Posts: n/a
Default

Hi Jo,

Hide your Personal.xls and close Excel, accepting the save prompt.

When you re-open Excel, Personal.xls will open hidden and a blank workbook
will be opened.


Save the macros that you want to distribute in a new workbook. Open the VBE
(Alt-F11), in the explorer window (Ctrl-R) select the workbook's
ThisWorkbook module, open the properties window (F4) and change the value of
the IsAddin property to True. Save the workbook (as 'Jo Coen Macros', say) ,
selecting the Microsoft Excel addin (*.xla) option in the file type option
list.

If your co-workers load the addin, your macros will be available to any
workbook that they open.

---
Regards,
Norman



"Jo Coen" <Jo wrote in message
...
I'm building a set of macro's. These macro I want to use in all different
worksheets.
So I create a PERSONAL.XLS workbook which I save in XLSTART directory.

As soon I have one file in this directory, when excel opens, the default
blank workbook does not open anymore.
What do I need to do to have the macro's available via Personal.Xls and
still have the default Book1 opened automatically.

The second problem I have is that I want to distribute these macro's to
other persons within the company. The other people probably already have
macro's in their Personal.XLS. What is the best way to distribute to
multiple
people macro's?



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
Importing unopened worksheet into an open Workbook GrayesGhost Excel Discussion (Misc queries) 24 July 3rd 08 10:06 PM
in Excel how do you set a workbook to only open on the first work. Mark_J Excel Discussion (Misc queries) 9 February 1st 07 10:07 PM
Open Blank Workbook? rreneerob Excel Discussion (Misc queries) 0 May 25th 05 04:42 PM
Open workbook to specific worksheet Dave Excel Discussion (Misc queries) 2 May 2nd 05 08:44 PM
Excel workbook does not open in open window on desktop DeanH Excel Discussion (Misc queries) 2 March 8th 05 09:51 AM


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