CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Read from excel file

    Not sure it will help, but you can try it:
    https://docs.automationanywhere.com/...l-package.html
    Victor Nijegorodov

  2. #17
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,824

    Re: Read from excel file

    Quote Originally Posted by vcdebugger View Post
    Thanks very much for the response.. the #import statements in that link in post#9 does not work because I am using a different version of Excel - Excel Office 365 version and this might have the files in a different path. I am not able to figure out.

    Even the link in the other thread post#9 is having #import of different version of Excel. It is not able to find the files in those path.
    The path/files for Excel will probably depend upon the version installed. The paths in the code referenced in my post #12 are for Office 2010 which I use. You'll need to search on your system for equivalent installed files for your Office 365 and alter the paths/names accordingly.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #18
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Read from excel file

    Quote Originally Posted by vcdebugger View Post
    Not able to find out which dlls need to be imported from which path.
    Code:
    C:\Program Files\Common Files\System\ado
    
    06/13/2019  03:22 AM    <DIR>          .
    06/13/2019  03:22 AM    <DIR>          ..
    07/13/2009  11:50 PM            14,610 adojavas.inc
    07/13/2009  11:50 PM            14,951 adovbs.inc
    07/14/2009  06:18 PM    <DIR>          en-US
    07/14/2009  04:29 AM             8,192 msader15.dll
    05/09/2019  06:07 PM         1,499,136 msado15.dll
    06/06/2012  07:37 AM            57,344 msado20.tlb
    06/06/2012  07:37 AM            57,344 msado21.tlb
    06/06/2012  07:37 AM            73,728 msado25.tlb
    06/06/2012  07:37 AM            73,728 msado26.tlb
    06/06/2012  07:37 AM            77,824 msado27.tlb
    06/06/2012  07:37 AM            73,728 msado28.tlb
    05/09/2019  05:51 PM            73,728 msado60.tlb
    06/06/2012  09:05 AM           466,944 msadomd.dll
    06/06/2012  07:37 AM            20,480 msadomd28.tlb
    06/06/2012  09:05 AM            61,440 msador15.dll
    06/06/2012  07:37 AM            40,960 msador28.tlb
    06/06/2012  09:05 AM           495,616 msadox.dll
    07/14/2009  03:28 AM            28,672 msadox28.tlb
    07/14/2009  04:41 AM           106,496 msadrh15.dll
    Best regards,
    Igor

  4. #19
    Join Date
    Mar 2020
    Posts
    1

    Re: Read from excel file

    I think some of it import errors occurs in your end
    Last edited by VictorN; March 14th, 2020 at 06:43 AM. Reason: Removed the dangerous link

  5. #20
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Read from excel file

    Quote Originally Posted by uzairch View Post
    I think some of it import errors occurs in your end
    Hello uzairch,

    I removed your link because the site you referred to is unknown for our community.
    if you'd really like to help then provide some useful information without the links to unknown sites.
    Victor Nijegorodov

  6. #21
    Join Date
    Mar 2020
    Posts
    5

    Re: Read from excel file

    Read some guidelines below

Page 2 of 2 FirstFirst 12

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