|
-
May 11th, 2004, 01:06 PM
#1
Thread Starter
Frenzied Member
Need primitive example of VB.Net <> Excel 97
Esteemed Forum Members and Lurkers:
Are there any primitive examples of opening and manipulating an Excel spreadsheet? I only have Excel 97 and VB.NET v2003.
I have waded through the VB help stuff (not very helpful) and MANY posts on this forum but haven't found what I am looking for. Several posts have code like:
Dim xl as New Excel.Application and EXL.Workbooks.Open(FN)
etc.
Excel and EXL are not recognized by my VB.Net.
Thank you for your gracious comments, suggestions, and assistance.
Blessings in abundance,
All the Best,
& ENJOY!
Art . . . . Carlisle, PA . . USA
-
May 11th, 2004, 03:56 PM
#2
Member
-
May 12th, 2004, 07:38 AM
#3
Thread Starter
Frenzied Member
Many thanks to Vutle ... however ...
All went well until the very last step (one of the laws of the perversity of programming) generated an error ... adding the following:
Imports Microsoft.Office.Interop
does not recognize (sqiggly blue underline) "Microsoft.Office.Interop" and generates a build error:
"Namespace or type "Interop" for the Imports 'Microsoft.Office.Interop' can not be found"
The only other anomaly ... I got the Excel Object Library Reference added, however there were TWO libraries listed ...
Microsoft Excel 5.0 Object Library - XL5EN32.OLB
Microsoft Excel 8.0 Object Library - EXCEL8.OLB
Not knowing what to do here, I just selected Excel 8 and added it. Was that correct?
What do I need to do to get rid of the build error?
All comments, suggestions, and assistance is greatly appreciated.
Blessings in abundance,
All the Best,
& ENJOY!
Art . . . . Carlisle, PA . . USA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|