Results 1 to 3 of 3

Thread: [RESOLVED] [2005] Usin Excel

  1. #1

    Thread Starter
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Resolved [RESOLVED] [2005] Usin Excel

    Hi.
    I have a excel reference in my project but this line won't compile.
    VB Code:
    1. Dim xlApp As New Excel.Application
    Indefined type, what i am doing wrong.
    TIA
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

  2. #2
    Fanatic Member staticbob's Avatar
    Join Date
    Jan 2005
    Location
    Manchestershire, UK Cabbage: I do
    Posts
    619

    Re: [2005] Usin Excel

    Make sure you have a reference set to the relevant Microsoft Excel Object library and then add this statement above your code...

    Imports Microsoft.Office.Interop

    HTH,
    Bob
    "I dislike 7 am. If 7 am were a person, I would punch 7 am in the biscuits." - Paul Ryan, DailyRamblings

  3. #3

    Thread Starter
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: [2005] Usin Excel

    Thanks.
    "The dark side clouds everything. Impossible to see the future is."

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