Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Need macros in file to be available, but don't want file to open

Hello,

I have an excel file holding a number of macros that I would like to
be able to access whenever excel is open. I have saved this file at C:
\Program Files\Microsoft Office\OFFICE11\xlstart. Now, when I open
excel, this file opens. However, I don't want the file to open, I just
want the macros in the file to be available.

Thanks,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default Need macros in file to be available, but don't want file to open

What you are looking for is an add-in.

open your file, go to "save as..." and
choose .xla as file format. excel should
change the destination by itself and you
can save it directly there. close the
whole excel, open a new blank one and
go to "Tools" -- "add-ins" and you should
see your file in the list.

there are some better tutorials out the
http://www.ozgrid.com/VBA/excel-add-in-create.htm

hth

Carlo

On Nov 28, 8:40 am, wrote:
Hello,

I have an excel file holding a number of macros that I would like to
be able to access whenever excel is open. I have saved this file at C:
\Program Files\Microsoft Office\OFFICE11\xlstart. Now, when I open
excel, this file opens. However, I don't want the file to open, I just
want the macros in the file to be available.

Thanks,
Tom


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Need macros in file to be available, but don't want file to open

Hi,
If you mean that what is bothering you is that you can see the file as a
regular xl book when xl opens, then you can actually set the IsAddin property
to True in the Properties window (vba editor). From now on, when excel opens,
it still opens the file from xlStart but the file is not displayed anymore
(only accessible in the vba editor).

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


" wrote:

Hello,

I have an excel file holding a number of macros that I would like to
be able to access whenever excel is open. I have saved this file at C:
\Program Files\Microsoft Office\OFFICE11\xlstart. Now, when I open
excel, this file opens. However, I don't want the file to open, I just
want the macros in the file to be available.

Thanks,
Tom

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Need macros in file to be available, but don't want file to open

Hide the file and save it so's it opens hidden.

Your macros will still be available.


Gord Dibben MS Excel MVP

On Tue, 27 Nov 2007 15:40:42 -0800 (PST), wrote:

Hello,

I have an excel file holding a number of macros that I would like to
be able to access whenever excel is open. I have saved this file at C:
\Program Files\Microsoft Office\OFFICE11\xlstart. Now, when I open
excel, this file opens. However, I don't want the file to open, I just
want the macros in the file to be available.

Thanks,
Tom


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Need macros in file to be available, but don't want file to open

On Nov 28, 11:45 am, Gord Dibben <gorddibbATshawDOTca wrote:
Hide the file and save it so's it opens hidden.

Your macros will still be available.

Gord Dibben MS Excel MVP



On Tue, 27 Nov 2007 15:40:42 -0800 (PST), wrote:
Hello,


I have an excel file holding a number of macros that I would like to
be able to access whenever excel is open. I have saved this file at C:
\Program Files\Microsoft Office\OFFICE11\xlstart. Now, when I open
excel, this file opens. However, I don't want the file to open, I just
want the macros in the file to be available.


Thanks,
Tom- Hide quoted text -


- Show quoted text -


Fantastic - thanks, add-in works well.
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
Open file with macros David T Excel Discussion (Misc queries) 2 November 29th 07 06:23 PM
Not allow to open file it do not accept macros JR_06062005[_2_] Excel Programming 1 February 15th 06 01:52 PM
Macros forcing file open brodine Excel Programming 2 July 29th 05 02:45 PM
Open file without macros John Excel Programming 4 July 21st 05 10:48 PM
How can I have a macros automatically run when I open up the file. Owen[_2_] Excel Programming 2 September 30th 04 01:44 AM


All times are GMT +1. The time now is 07:26 PM.

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"