Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default xlstart .xla automatically opens when starting Excel 2003


I have a couple of workbooks that use the same custom functions an
sub-procedures. In order to make these functions and subs visible t
all the worksheets, I followed standard advice and saved them a
add-ins, but first I changed the names of these workbooks from th
generic "VBAProject" to something appropriate ("ODMS_Functions" an
"ODMS_Calculations") and then saved them as .xla files. According t
the research I had done, I had to add these add-ins as a reference fo
each workbook that would need to see them by using th
ToolsReferences... menu item. But unless I placed the new .xla file
in the C:\Program Files\Microsoft Office\OFFICE11\XLSTART\ o
C:\Documents and Settings\-username-\Applicatio
Data\Microsoft\Excel\XLSTART file path, I would have to browse for the
manually. So I closed Excel, copied the .xla files into the C:\Progra
Files\Microsoft Office\OFFICE11\XLSTART\ folder and then opened Exce
again. I then opened the workbooks that would be using the function
and subs in the .xla files, opened the Visual Basic window, used th
Tools/References... option and selected the add-ins. I saved the file
and everything seemed to be working fine until the next time I opene
Excel, one of the .xla files opens automatically whenever I star
Excel. I checked and realized that that particular .xla files was don
in Excel 4.0 and the other .xla files which were done in Excel 200
don't open. The only way to prevent the .xla file from loading is t
remove it from the C:\Program Files\Microsoft Office\OFFICE11\XLSTART
folder, but I want to keep it in that folder so no matter who logs on
the .xla files will load, so when the user opens a workbook that use
any of the functions or subs in them, it will know where to find them
Even when I close the .xla file and then open one of the workbooks tha
use it, the .xla file opens back up. I don't know much about this ol
Excel 4.0 .xla file becasue it was done by someone else. It doesn'
look like a normal .xla file at all...when it opens all the code is o
a worksheet and I can't make make heads or tails of it. Is it possibl
that in there somewhere there is code to open itself when a workboo
references one of its functions? Any help on this puzzle will b
appreciated

--
suzette
-----------------------------------------------------------------------
suzetter's Profile: http://www.excelforum.com/member.php...nfo&userid=707
View this thread: http://www.excelforum.com/showthread.php?threadid=38530

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
Run Macro Automatically When Excel 2003 Opens CBender Excel Discussion (Misc queries) 2 May 7th 10 05:25 PM
Blank sheet does not automatically appear on starting Excel Andy Excel Discussion (Misc queries) 1 January 30th 09 02:39 PM
xlstart not starting file Patrick Excel Discussion (Misc queries) 2 January 10th 08 08:22 PM
Excel Launching and not automatically starting a new workbook joe Excel Discussion (Misc queries) 6 April 11th 07 08:26 PM
xlstart .xla automatically opens when starting Excel 2003 suzetter[_7_] Excel Programming 0 July 7th 05 06:54 PM


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