Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default legacy dll and excel

I made some dll libraries in Fortran (Microsoft Fortran 4.0 released in
1997, i think) and c.
Is it possible to add this dll's to reference for VBA project in Excel (VBA
tools references) ant then simply call functions compiled in dll, instead

of declaring dll at the begining of VBA code?
I've got this idea since i found out that .NET classes could be referenced
similar way.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default legacy dll and excel


No, you can't reference a standard DLL. Only COM DLLs can be accessed by
the Tools/References menu. You will have to write Declare statements to
access the functions contained in your DLL (assuming they have been written
and exported in a format that VBA can work with).

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"Juggernath" wrote in message
...
I made some dll libraries in Fortran (Microsoft Fortran 4.0 released in
1997, i think) and c.
Is it possible to add this dll's to reference for VBA project in Excel
(VBA
tools references) ant then simply call functions compiled in dll,
instead

of declaring dll at the begining of VBA code?
I've got this idea since i found out that .NET classes could be referenced
similar way.




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
Legacy Headers and Footers DeeRuby Excel Discussion (Misc queries) 1 May 16th 07 10:45 PM
Removing Legacy Data from a PivotChart report [email protected] Charts and Charting in Excel 5 April 4th 07 05:40 AM


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