home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18482 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.9 KB

  1. Xref: sparky comp.sys.mac.programmer:18482 comp.sys.mac.apps:17276 comp.lang.fortran:4332 comp.os.ms-windows.apps:4944
  2. Newsgroups: comp.sys.mac.programmer,comp.sys.mac.apps,comp.lang.fortran,comp.os.ms-windows.programmer,comp.os.ms-windows.apps
  3. Path: sparky!uunet!ukma!darwin.sura.net!news.udel.edu!me.udel.edu!garrett
  4. From: garrett@me.udel.edu (Joel J. Garrett; Office 127 CMSL; Phone 831-2332)
  5. Subject: Can you call F77 subroutines from MS Excel?
  6. Message-ID: <Bxtzo3.DFG@news.udel.edu>
  7. Followup-To: comp.sys.mac.programmer
  8. Keywords: fortran excel mac ms-windows
  9. Sender: Joel Garrett <garrett@me.udel.edu>
  10. Nntp-Posting-Host: me.udel.edu
  11. Organization: University of Delaware
  12. Date: Mon, 16 Nov 1992 22:55:15 GMT
  13. Lines: 22
  14.  
  15. How difficult would it be to interface a set of existing FORTRAN subroutines
  16. to an Excel Spreadsheet?  Is it possible to somehow include a compiled set of
  17. subroutines and/or functions in an Excel spreadsheet or add-in that could be
  18. called using the regular '=function(arg1,arg2,arg3,...)' convention.  I think
  19. that I recall reading something about being able to call code in DLLs from the
  20. Windows version of Excel (and the MS Fortran compiler now can produce DLLs,
  21. right?), but I mainly need to be able to do this using a Macintosh-based FORTRAN
  22. compiler and Excel.  The reference section of the Excel manuals lists a few
  23. hooks that are supposed to be used for external functions, but they really don't
  24. give any examples or the like, at least not as far as I can see.
  25.  
  26. Suggestions regarding which FORTRAN compiler would work best for this (on
  27. either platform, Windows or Mac) and how to actually pull it off (if it is even
  28. possible) would be greatly appreciated.  Examples of how to do this in Think C
  29. or Borland C++ would be helpful if it would be possible to extrapolate these
  30. into Fortran solutions.
  31.  
  32. Please respond via email, I will post a summary if there is interest...
  33.  
  34. Thanks!
  35. Joel
  36. (garrett@me.udel.edu)
  37.