Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default Personal.XLS MACRO Workbook

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Personal.XLS MACRO Workbook

Hi,
By default, Excel opens any book in the following directory upon startup.
Just place your book the
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
(Replace <username with your login name)

You can choose a different directory in menu Tools Options, tab General,
'Alternate Startup Directory'.

Regards,
Sebastien

"Don" wrote:

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?

  #3   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default Personal.XLS MACRO Workbook

Yea, tried that, but doesn't work. It opens up an XLA file I have, but not
Personal.XLS. In fact, it opens any file EXCEPT personal.xls. Any ideas?

"sebastienm" wrote:

Hi,
By default, Excel opens any book in the following directory upon startup.
Just place your book the
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
(Replace <username with your login name)

You can choose a different directory in menu Tools Options, tab General,
'Alternate Startup Directory'.

Regards,
Sebastien

"Don" wrote:

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Personal.XLS MACRO Workbook

Could it be that the book is open then closed right away for some reasons?
To test, add a
msgbox "open"
in the Workbook_open sub of the ThisWorkbook module of the book.

Sebastien

"Don" wrote:

Yea, tried that, but doesn't work. It opens up an XLA file I have, but not
Personal.XLS. In fact, it opens any file EXCEPT personal.xls. Any ideas?

"sebastienm" wrote:

Hi,
By default, Excel opens any book in the following directory upon startup.
Just place your book the
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
(Replace <username with your login name)

You can choose a different directory in menu Tools Options, tab General,
'Alternate Startup Directory'.

Regards,
Sebastien

"Don" wrote:

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?

  #5   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default Personal.XLS MACRO Workbook

Works Now - all I did was create the sub:

Sub Workbook_open()
Msgbox "Open"
End Sub

in the This Workbook module,

then erased the sub. Seems to work.

I couldn't find any stray code anywhere that would have caused it to close.

Any ideas on a possible problem or why it misbehaved?

Thanks!
"sebastienm" wrote:

Could it be that the book is open then closed right away for some reasons?
To test, add a
msgbox "open"
in the Workbook_open sub of the ThisWorkbook module of the book.

Sebastien

"Don" wrote:

Yea, tried that, but doesn't work. It opens up an XLA file I have, but not
Personal.XLS. In fact, it opens any file EXCEPT personal.xls. Any ideas?

"sebastienm" wrote:

Hi,
By default, Excel opens any book in the following directory upon startup.
Just place your book the
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
(Replace <username with your login name)

You can choose a different directory in menu Tools Options, tab General,
'Alternate Startup Directory'.

Regards,
Sebastien

"Don" wrote:

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Personal.XLS MACRO Workbook

nope, no idea.
If there were some code somewhere closing the book right away, it should
still be there (even after your modif; like in an AutoOpen macro), so it
should continue to close right after being opened. And it s apparently not
the case. ...;No idea at all. Sorry.

Sebastien

"Don" wrote:

Works Now - all I did was create the sub:

Sub Workbook_open()
Msgbox "Open"
End Sub

in the This Workbook module,

then erased the sub. Seems to work.

I couldn't find any stray code anywhere that would have caused it to close.

Any ideas on a possible problem or why it misbehaved?

Thanks!
"sebastienm" wrote:

Could it be that the book is open then closed right away for some reasons?
To test, add a
msgbox "open"
in the Workbook_open sub of the ThisWorkbook module of the book.

Sebastien

"Don" wrote:

Yea, tried that, but doesn't work. It opens up an XLA file I have, but not
Personal.XLS. In fact, it opens any file EXCEPT personal.xls. Any ideas?

"sebastienm" wrote:

Hi,
By default, Excel opens any book in the following directory upon startup.
Just place your book the
C:\Documents and Settings\<username\Application Data\Microsoft\Excel\XLSTART
(Replace <username with your login name)

You can choose a different directory in menu Tools Options, tab General,
'Alternate Startup Directory'.

Regards,
Sebastien

"Don" wrote:

How do I get Excel to open PERSONAL.XLS macro spreadhseet upon startup, and
have it reside in the background to make my MACROs available to all Excel
spreadsheets?

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
Personal Macro Workbook Vision2279 Excel Worksheet Functions 1 November 22nd 06 03:40 PM
Personal Macro Workbook Frustrated Excel Discussion (Misc queries) 2 August 17th 06 04:45 AM
Where is Personal Macro Workbook? fxcel Excel Discussion (Misc queries) 2 June 17th 06 02:26 PM
Personal macro workbook and personal.xls John Kilkenny Excel Discussion (Misc queries) 1 June 14th 05 09:43 PM
Personal Macro Workbook Ben Excel Programming 1 December 9th 04 04:13 PM


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