By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

Excel constant in VB.NET

P: n/a
Anyone can tell me how to use the constant of Excel.object in VB.NET?! Such as xlPaperA4.....

___
Newsgroups brought to you courtesy of www.dotnetjohn.com
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Peter Sze" <ps**@csxwt.com> schrieb:
Anyone can tell me how to use the constant of Excel.object in VB.NET?!
Such as xlPaperA4.....


Either import the namespace/... the constant is part of or fully qualify it:

HOWTO: Automate Microsoft Excel from Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;301982>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.