Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default How can I get rid of the pathname?

Hi,

I made a userdefined function (UDF) to do a specific task in my worksheet.
It works well. The function is stored in another workbook which contains the
code of my whole program. If I place my code (a xla-file) and my workbook to
another computer, the UDF is replaced with the whole pathname + the UDF and
it does not work anymore.

Is there a means to not get that (anoying) pathname when I place my
workbooks on another machine? If i delete the path, my UDF works again!

Thanks
Jos


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default How can I get rid of the pathname?

The easiest thing to do is to treat your UDF like an add-in:

Put it in each of your workbooks. That way the workbooks will be
self-contained and not have to rely on being able to reach another workbook
to get to the UDF.
--
Gary''s Student


"Jos Vens" wrote:

Hi,

I made a userdefined function (UDF) to do a specific task in my worksheet.
It works well. The function is stored in another workbook which contains the
code of my whole program. If I place my code (a xla-file) and my workbook to
another computer, the UDF is replaced with the whole pathname + the UDF and
it does not work anymore.

Is there a means to not get that (anoying) pathname when I place my
workbooks on another machine? If i delete the path, my UDF works again!

Thanks
Jos



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
Pathname reference SB1979 Excel Programming 2 October 11th 05 08:31 PM
Full Pathname in Titlebar Greg Setting up and Configuration of Excel 3 March 25th 05 01:49 AM
Invalid Pathname pumpbhoy Excel Programming 3 March 10th 05 09:03 AM
Filecopy and UNC-pathname Jos Vens Excel Programming 7 February 12th 04 11:10 AM
LoadPicture Pathname or no Pathname Philipp Schramek Excel Programming 1 July 8th 03 03:30 PM


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