View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default Location of dll (API-function call)

If moving a dll first un-register then re-register

Windows/Start Run
Regsvr32 /s oldDLLfullname /u
Regsvr32 /s newDLLfullname

But suggest DON'T move any dll's containing API functions, or any other
system dll's

Regards,
Peter T

"Leith Ross" wrote
in message ...

Hi Jos,

You can. Move the DLL to the new directory (folder). You'll need to add
a reference in VBA to the file. Open the VBA editor, go to
ToolsReferences... and then click the BROWSE button. Open your folder,
select the DLL and click OPEN and then click OK.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:

http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=506223