Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Problems with path to XLA file

I have run into a problem where the path to a XLA file is not always correct
on systems that are using a roaming profile.

When I launch Excel from my desktop the path to the XLA file is correct.

The problem occurs when Excel is launched by IE when selecting a XLS file
from a web page. I have the "Browse in same window" option turned off so
Excel is launched in its own window. The drive letter of my roaming profile
network drive (T:) is used in the path to the XLA file rather than the drive
(C:)
the XLA file is installed on.

How does Excel build the path to the XLA file? In particular how does it
pick the drive, and is there anything I can do to influence this behavior?

Thanks,

Carl
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problems with path to XLA file

Excel gets the information for selected addins from the registry. They are
stored there with a hard path in keys with names like OPEN, OPEN1, OPEN2.
These are found under Options under the Excel key for version 11 (2003).

There is another registry key which stores all the available addins, but I
don't recall what it is at the moment.

I think you would need to use an open event to unload/load the addin you
need.

--
Regards,
Tom Ogilvy

"Carl L" wrote in message
...
I have run into a problem where the path to a XLA file is not always

correct
on systems that are using a roaming profile.

When I launch Excel from my desktop the path to the XLA file is correct.

The problem occurs when Excel is launched by IE when selecting a XLS file
from a web page. I have the "Browse in same window" option turned off so
Excel is launched in its own window. The drive letter of my roaming

profile
network drive (T:) is used in the path to the XLA file rather than the

drive
(C:)
the XLA file is installed on.

How does Excel build the path to the XLA file? In particular how does it
pick the drive, and is there anything I can do to influence this behavior?

Thanks,

Carl



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
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
Recurring Problems with Links with Full Path Names JMcBeth Excel Discussion (Misc queries) 1 February 4th 05 10:11 PM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM
Problems about the path of the Add-in file(xla) Yiu Choi Fan Excel Programming 1 July 5th 04 08:59 AM
PATH Update; VBA problems RU_Powers Excel Programming 3 August 19th 03 01:50 AM


All times are GMT +1. The time now is 02:22 AM.

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"