Hi Herfried and Ken,
Thanks for your information and it works fine!
One more question, there is some information composed by numeric digits but
I want to show it as text (e.g. tel. no. or barcode). In Excel, I will set
the cell format as text. How can I do that using VB.NET with Excel class?
Thanks again your help!
Regards,
James Wong
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ¦b¶l¥ó
news:OYTQnWl8EHA.1524@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...[color=blue]
> "James Wong" <cp_msdn@commercialpress.com.hk.NO_SPAM> schrieb:[color=green]
> > [Working with Excel][/color]
>
> General:
>
> INFO: Develop Microsoft Office Solutions with Visual Studio .NET
> <URL:http://support.microsoft.com/?kbid=311452>
>
> HOWTO: Automate Microsoft Excel from Visual Basic .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;301982>
>
> How To Use ADO.NET to Retrieve and Modify Records in an Excel Workbook[/color]
With[color=blue]
> Visual Basic .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;316934>
>
> Samples:
>
> How to handle events for Excel 2003 by using Visual Basic .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;822750>
>
> HOW TO: Handle Events for Excel by Using Visual Basic .NET
> <URL:http://support.microsoft.com/default.aspx?scid=kb;en-us;302814>
>
> HOWTO: Automate Microsoft Excel from Visual Basic .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;301982>
>
> HOW TO: Transfer Data to an Excel Workbook by Using Visual Basic .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;306022>
>
> HOW TO: Handle Events for Excel by Using Visual C# .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;823981>
>
> Related:
>
> BUG: "Old Format or Invalid Type Library" Error When Automating Excel 2002
> <URL:http://support.microsoft.com/?scid=kb;EN-US;320369>
>
> PRB: Office Application Does Not Quit After Automation from Visual Studio
> .NET Client
> <URL:http://support.microsoft.com/?scid=kb;EN-US;317109>
>
> HOWTO: Use the WebBrowser Control to Open an Office Document in Visual[/color]
Basic[color=blue]
> .NET
> <URL:http://support.microsoft.com/?scid=kb;EN-US;304643>
>
> INFO: Considerations for Server-Side Automation of Office
> <URL:http://support.microsoft.com/?scid=kb;EN-US;257757>
>
> More information:
>
>[/color]
<URL:
http://support.microsoft.com/search/...alog=LCID%3D10
33>[color=blue]
>
> There are loads of information about how to use Office applications[/color]
together[color=blue]
> with .NET in the Microsoft Office Developer Center:
>
> Microsoft Office Developer Center
> <URL:http://msdn.microsoft.com/office/>
>
> Office Development
> <URL:http://msdn.microsoft.com/office/understanding/>
>
> Using the Microsoft Visual Studio Tools for the Microsoft Office System
> <URL:http://www.devx.com/codemag/Article/18233/>
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>[/color]