CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    1

    Excel.Application Library reference

    Hi.

    I'm trying to read and write from and to an excel worksheet. I think I got the right code; however, I get "Type 'Excel.Application' is not defined." I know I get this message since I have not included the proper references of libraries in VB .Net. But I’m not sure what library to include, any ideas?

    Also, how would you find the proper libraries for an object?

    I have been looking on the net, but so far no luck

    Appreciate any suggestion

  2. #2
    Join Date
    Dec 2002
    Posts
    305

    Re: Excel.Application Library reference

    Go to Project-menu. Select Preferences. A pop-up menu shows up. Select the COM tab and look for Microsoft Excel Object 10.0 or earlier version. Select and press Ok. It will be included.

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