"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/>