LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Calling DLL functions in Excel VBA

Is the DLL registered on the target machine?

--
Robin Hammond
www.enhanceddatasystems.com


"NickHK" wrote in message
...
<Surmise
I would imagine that the folder calling would be that containing Excel, or
possibly the VB/VBA runtime. The location of your XL file would not
matter.
</Surmise

You could avoid the whole path problem by making an ActiveX dll instead
and
using COM. Then the location is irrelevant.

NickHK

"sunny" wrote in message
oups.com...
I tested with my dll file and excel file in the same folder. (I think
this is the third case)
And the result was just as I said - It worked only in the "My
document" on others' computer.
I don't think it is a good idea to put my dll into System folder and
it is not possible to tell everybody to set their PATH variable
(People are not familiar with setting environment variables)
Maybe I can specify an absolute path of the dll file and let people
copy the file to that path.
If anyone have better ways, just tell me.
Thanks, anyway.







 
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
Calling functions developed in VSTO 2005 from Office Excel 2003 Neil Janabi Excel Programming 0 March 16th 06 10:50 AM
Calling VBA add-in functions/subs from another Excel file. Bret Holle Excel Programming 1 September 17th 04 01:43 AM
Excel 2000 calling functions in C++ um Excel Programming 13 June 2nd 04 11:31 PM
Calling Excel array functions in VBA JM[_4_] Excel Programming 7 March 2nd 04 03:23 AM
Calling functions from Excel worksheets and the Find function in XL '97 Mike-hime Excel Programming 1 January 8th 04 03:17 AM


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