Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default make addin portable

Unfortunately, Excel has not always been consistent in its references.
I have not looked at it recently, but my recollection is that Excel 97
embedded worksheet references to other files (including Add-Ins) using a
drive letter, while VBA embedded references using the UNC path. If you
need to mimic a UNC path, then I think you are out of luck. But I have
had good success mimicking a drive letter using the DOS SUBST command.

For instance if I needed to mimic files from a network S: drive, I would
have a path on my hard drive c:\NoNetwork\S\ and then put whatever
directory structure I needed from the S: drive below that. I could then
issue the DOS command
SUBST S: C:\NoNetwork\S
and have a virtual S: drive with the necessary files, even though I was
not connected to the network.

Jerry

Kanan wrote:

Hi,
I have an add-in issue. I have this workbook(bookA) which uses add-in from a
network drive. I want the user to be able to copy this bookA to a floppy so
that
they can use it when they travel. But the add-in is in a network drive. But
they are
not able to use bookA even if they copy the add-in book in the same floppy.
Can anybody explain and suggest a solution? I don't want to teach them or
want them to
be able to point the add-in the floppy. Is there an automatic way to do this?

thanks
Kanan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default make addin portable

thanks for the info.
kanan

"Jerry W. Lewis" wrote:

Unfortunately, Excel has not always been consistent in its references.
I have not looked at it recently, but my recollection is that Excel 97
embedded worksheet references to other files (including Add-Ins) using a
drive letter, while VBA embedded references using the UNC path. If you
need to mimic a UNC path, then I think you are out of luck. But I have
had good success mimicking a drive letter using the DOS SUBST command.

For instance if I needed to mimic files from a network S: drive, I would
have a path on my hard drive c:\NoNetwork\S\ and then put whatever
directory structure I needed from the S: drive below that. I could then
issue the DOS command
SUBST S: C:\NoNetwork\S
and have a virtual S: drive with the necessary files, even though I was
not connected to the network.

Jerry

Kanan wrote:

Hi,
I have an add-in issue. I have this workbook(bookA) which uses add-in from a
network drive. I want the user to be able to copy this bookA to a floppy so
that
they can use it when they travel. But the add-in is in a network drive. But
they are
not able to use bookA even if they copy the add-in book in the same floppy.
Can anybody explain and suggest a solution? I don't want to teach them or
want them to
be able to point the add-in the floppy. Is there an automatic way to do this?

thanks
Kanan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default make addin portable

You are welcome

Jerry

Kanan wrote:

thanks for the info.
kanan


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
How do I make ETrade's DDE addin work in Excel 2003 and Vista? df4000 Excel Discussion (Misc queries) 3 March 14th 08 12:02 PM
Making settings portable Scott Johnson Excel Discussion (Misc queries) 0 May 17th 06 07:56 PM
CAn you make Toolbars Portable? CSAH Setting up and Configuration of Excel 3 April 28th 06 01:01 PM
make addin portable Frank Kabel Excel Programming 2 September 20th 04 07:41 PM
'portable' UDFs??? whelanj[_7_] Excel Programming 1 July 9th 04 01:13 PM


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