Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27061

Need help with Excel 11 object library

$
0
0
I need to update a VB.net project to use Excell 11 object library. Currently using Excel 5.0 object library. I downloaded the latest PIA's, no problem there.

The issue comes when I substritue 11 for 5 and change Imports to Microsoft. Office.Interop.Excel.Constants

Suddenly I have all kinds of errors:

"Excel.Worksheet" not defined
"New" cannot be used in an interface
"Forms" is not a member

I expected that upgrading to the latest Excel PIA would maintain backwards compatiibility.

I will appreciate any insight. I am sure it's something simple I am overlooking.

Viewing all articles
Browse latest Browse all 27061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>