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

    Dim xlApp As Excel.Application NOT WORKING

    urgent..

    Dim xlApp As Excel.Application

    showing error....what are the settings to avoid this....

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Dim xlApp As Excel.Application NOT WORKING

    That's Early Binding. You need to set the reference to Excel before running the app.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Dim xlApp As Excel.Application NOT WORKING

    Quote Originally Posted by rakesanand
    urgent..

    Dim xlApp As Excel.Application

    showing error....what are the settings to avoid this....
    What error does it show? Without knowing what the error message is, it will be difficult to give a proper solution.

  4. #4
    Join Date
    Sep 2005
    Location
    Delhi, INDIA
    Posts
    237

    Thumbs up Re: Dim xlApp As Excel.Application NOT WORKING

    What was the Error? describe it and then tell what u written down into ur code!


    Quote Originally Posted by rakesanand
    urgent..

    Dim xlApp As Excel.Application

    showing error....what are the settings to avoid this....
    I'M BACK AGAIN !!
    -------------------------------------------------------------------------
    enjoy the VB !
    If any post helps you, please rate that.
    Always try to findout the Solutions, instead just discussing the problem and its scope!

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