CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 1999
    Posts
    5

    Access to MS Excel-Table

    Can anyone tell me how I can get access to an
    Excel-Cell Value ?
    What sort of Application shall I make ? (Do I need DAO ?)

    Regards R.Schuermann


  2. #2
    Join Date
    Jun 1999
    Posts
    319

    Re: Access to MS Excel-Table

    Why don't you use an automation client witch call the Excel server. You need to import the Type library for excel and that all (in few words).
    let me know if this works fine for you or you need help.
    Best regards,
    Faby


  3. #3
    Join Date
    Jun 1999
    Posts
    5

    Re: Access to MS Excel-Table

    Hi Faby

    Never heard about the Excel Server, could you please give me more information about it.

    Regards Rene


  4. #4
    Join Date
    Jun 1999
    Posts
    319

    Re: Access to MS Excel-Table

    How about OLE Automation? Did you heard it? If you don't, try the followings :
    1. Import the type library (from Class Wizard-Add Class->From a type library. Go to your office folder and try to load "excel8.olb"). You should be able to see in your class view some excel interfaces.
    2. Get a pointer to a dispatch using :
    IExcel8Application iApp;
    iApp.CreateDispatch("Excel8.Document");
    After this you can call any method from excel interfaces. Let me know if it works fine for you. (Note: try reading something about OLE Automation first. It's not so easy as it seem to be).
    Best regards,
    Faby


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured