Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default No Workbook at Startup

When I start up Excel (2003), no workbook is opening. I have
identified that this has something to do with a hidden workbook that I
have created and placed in Excel's XLSTART folder. This file,
XXStartup.xls is hidden and acts like PERSONAL.XLS. It is used to
deploy custom toolbars to users without overwriting their own
PERSONAL.XLS.

I have placed XXStartup.xls in:

C:\Program Files\Microsoft Office\OFFICE11\XLSTART

I prefer this location as it means the macros execute seamlessly
without having to redirect the macro paths if I used:

C:\Documents and Settings\{userID}\Application Data\Microsoft\Excel
\XLSTART

The Excel11.xlb file is placed in the user's profile path (in the
Excel folder, one up from XLSTART in the path above).

Regardless of which XLSTART folder I put XXStartup.xls in (and I have
tried both), no workbook opens automatically on startup. As soon as I
remove the file from XLSTART, Excel's behaviour returns to normal. I
have read other posts suggesting removing the " /e" switch from the
command line for Excel, but this has had no effect.

Any suggestions are appreciated.

Paul Martin
Melbourne, Australia
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default No Workbook at Startup

Hu Paul

Try saving the file as an addin (xla) ;
XXStartup.xla

Best wishes Harald


"Paul Martin" wrote in message
...
When I start up Excel (2003), no workbook is opening. I have
identified that this has something to do with a hidden workbook that I
have created and placed in Excel's XLSTART folder. This file,
XXStartup.xls is hidden and acts like PERSONAL.XLS. It is used to
deploy custom toolbars to users without overwriting their own
PERSONAL.XLS.

I have placed XXStartup.xls in:

C:\Program Files\Microsoft Office\OFFICE11\XLSTART

I prefer this location as it means the macros execute seamlessly
without having to redirect the macro paths if I used:

C:\Documents and Settings\{userID}\Application Data\Microsoft\Excel
\XLSTART

The Excel11.xlb file is placed in the user's profile path (in the
Excel folder, one up from XLSTART in the path above).

Regardless of which XLSTART folder I put XXStartup.xls in (and I have
tried both), no workbook opens automatically on startup. As soon as I
remove the file from XLSTART, Excel's behaviour returns to normal. I
have read other posts suggesting removing the " /e" switch from the
command line for Excel, but this has had no effect.

Any suggestions are appreciated.

Paul Martin
Melbourne, Australia


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default No Workbook at Startup

I'd save that xxStartup.xls as an addin and the problem would go away. You may
want to test it before you distribute it to others.

But that worked ok for me when I had:
Personal.xla
xx.xla
book.xlt
sheet.xlt

in my XLStart folder. (I use xl2003, too.)

But if that's too much trouble, you may want to add a line that creates a new
workbook if there isn't one active--at the end of auto_open/workbook_Open:

if activeworkbook is nothing then
workbooks.add
end if




Paul Martin wrote:

When I start up Excel (2003), no workbook is opening. I have
identified that this has something to do with a hidden workbook that I
have created and placed in Excel's XLSTART folder. This file,
XXStartup.xls is hidden and acts like PERSONAL.XLS. It is used to
deploy custom toolbars to users without overwriting their own
PERSONAL.XLS.

I have placed XXStartup.xls in:

C:\Program Files\Microsoft Office\OFFICE11\XLSTART

I prefer this location as it means the macros execute seamlessly
without having to redirect the macro paths if I used:

C:\Documents and Settings\{userID}\Application Data\Microsoft\Excel
\XLSTART

The Excel11.xlb file is placed in the user's profile path (in the
Excel folder, one up from XLSTART in the path above).

Regardless of which XLSTART folder I put XXStartup.xls in (and I have
tried both), no workbook opens automatically on startup. As soon as I
remove the file from XLSTART, Excel's behaviour returns to normal. I
have read other posts suggesting removing the " /e" switch from the
command line for Excel, but this has had no effect.

Any suggestions are appreciated.

Paul Martin
Melbourne, Australia


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default No Workbook at Startup

Thanks for the replies, David and Harald. I prefer not to save as an
Add-In as that's an extra step for users to install and uninstall it.
I prefer it to just be there, like PERSONAL.XLS.

The Workbook_Open code sounds like a good quick fix, if there's
nothing else.

Regards

Paul



On Jul 23, 11:33 am, Dave Peterson wrote:
I'd save that xxStartup.xls as an addin and the problem would go away. You may
want to test it before you distribute it to others.

But that worked ok for me when I had:
Personal.xla
xx.xla
book.xlt
sheet.xlt

in my XLStart folder. (I use xl2003, too.)

But if that's too much trouble, you may want to add a line that creates a new
workbook if there isn't one active--at the end of auto_open/workbook_Open:

if activeworkbook is nothing then
workbooks.add
end if



Paul Martin wrote:

When I start up Excel (2003), no workbook is opening. I have
identified that this has something to do with a hidden workbook that I
have created and placed in Excel's XLSTART folder. This file,
XXStartup.xls is hidden and acts like PERSONAL.XLS. It is used to
deploy custom toolbars to users without overwriting their own
PERSONAL.XLS.


I have placed XXStartup.xls in:


C:\Program Files\Microsoft Office\OFFICE11\XLSTART


I prefer this location as it means the macros execute seamlessly
without having to redirect the macro paths if I used:


C:\Documents and Settings\{userID}\Application Data\Microsoft\Excel
\XLSTART


The Excel11.xlb file is placed in the user's profile path (in the
Excel folder, one up from XLSTART in the path above).


Regardless of which XLSTART folder I put XXStartup.xls in (and I have
tried both), no workbook opens automatically on startup. As soon as I
remove the file from XLSTART, Excel's behaviour returns to normal. I
have read other posts suggesting removing the " /e" switch from the
command line for Excel, but this has had no effect.


Any suggestions are appreciated.


Paul Martin
Melbourne, Australia


--

Dave Peterson


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default No Workbook at Startup

I don't think you'll see a difference in the amount of work when saving as an
addin.

Just tell them to put it in the same place as you were telling them to put the
..xls file.

You will have to remind them to delete the equivalent .xls file the first time
you send the .xla file, though.

Addins in the XLStart folder will be loaded when excel starts. You won't need
to teach them Tools|Addins...

Paul Martin wrote:

Thanks for the replies, David and Harald. I prefer not to save as an
Add-In as that's an extra step for users to install and uninstall it.
I prefer it to just be there, like PERSONAL.XLS.

The Workbook_Open code sounds like a good quick fix, if there's
nothing else.

Regards

Paul

On Jul 23, 11:33 am, Dave Peterson wrote:
I'd save that xxStartup.xls as an addin and the problem would go away. You may
want to test it before you distribute it to others.

But that worked ok for me when I had:
Personal.xla
xx.xla
book.xlt
sheet.xlt

in my XLStart folder. (I use xl2003, too.)

But if that's too much trouble, you may want to add a line that creates a new
workbook if there isn't one active--at the end of auto_open/workbook_Open:

if activeworkbook is nothing then
workbooks.add
end if



Paul Martin wrote:

When I start up Excel (2003), no workbook is opening. I have
identified that this has something to do with a hidden workbook that I
have created and placed in Excel's XLSTART folder. This file,
XXStartup.xls is hidden and acts like PERSONAL.XLS. It is used to
deploy custom toolbars to users without overwriting their own
PERSONAL.XLS.


I have placed XXStartup.xls in:


C:\Program Files\Microsoft Office\OFFICE11\XLSTART


I prefer this location as it means the macros execute seamlessly
without having to redirect the macro paths if I used:


C:\Documents and Settings\{userID}\Application Data\Microsoft\Excel
\XLSTART


The Excel11.xlb file is placed in the user's profile path (in the
Excel folder, one up from XLSTART in the path above).


Regardless of which XLSTART folder I put XXStartup.xls in (and I have
tried both), no workbook opens automatically on startup. As soon as I
remove the file from XLSTART, Excel's behaviour returns to normal. I
have read other posts suggesting removing the " /e" switch from the
command line for Excel, but this has had no effect.


Any suggestions are appreciated.


Paul Martin
Melbourne, Australia


--

Dave Peterson


--

Dave Peterson
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
Forms at workbook startup Jaytee Excel Discussion (Misc queries) 2 January 16th 07 02:42 PM
Startup Workbook kent Setting up and Configuration of Excel 16 October 10th 06 11:19 PM
Excel Template Startup as Workbook Elaine Excel Discussion (Misc queries) 0 June 12th 06 02:13 PM
at startup, i would like a specific workbook to open. Dave o Setting up and Configuration of Excel 1 February 21st 06 10:19 AM
Workbook startup condition wikegolfa Excel Discussion (Misc queries) 3 December 16th 04 03:11 PM


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