home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1660 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!think.com!think.com!lincoln
  2. From: lincoln@think.com (Lincoln Marta)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Exchange Data between Excel and My Program ?
  5. Date: 3 Sep 1992 16:14:53 -0400
  6. Organization: Thinking Machines Corporation
  7. Lines: 40
  8. Sender: root@Think.COM (Operator)
  9. Message-ID: <9209032014.AA06393@neptune.think.com>
  10.  
  11.  
  12.  
  13. Is it possible to interface my own Windows program with the
  14. database utilities offered in Excel for Windows and to run
  15. Excel in the background (i.e. not seen)?????
  16.  
  17. The application that I'm writing makes use of a great deal
  18. of data that must be able to be updated without directly
  19. interfacing with the actual program.  For example:
  20.  
  21. A doctor who owns a small practice keeps all his/her 
  22. data on an Excel spreadheet.  Data may include:
  23. Patient weight, height, illness, treatment, ...
  24.  
  25. The doctor utilizes the program to enter a search
  26. criteria. For example he/she wants to know about
  27. patients that weigh over 185lbs who suffer from
  28. diabetes.  The program then puts this search
  29. criteria into a variable/s and then executes
  30. some macro-like function to execute the search in
  31. Excel.  Then store the matching criteria into
  32. variable/s and port them back to the main program which
  33. the doctor uses.
  34.  
  35. I know that Excel itself can do this, but I need 
  36. Excel to be invisible to the user, except for
  37. database data entry.
  38.  
  39. In summary, I would like to be to:
  40. 1. Take search criteria variables from main program, and
  41. 2. Use these variables with functions inside Excel's database,
  42. 3. to return information from Excel back to the program.
  43.  
  44.     and then go outside and play.(Joke)
  45.  
  46. Thanks in advance,
  47. Please send responses to:
  48.  
  49. lincoln@Think.Com
  50. "I really don't make these questions up."
  51.