Click here to Skip to main content
12,749,392 members (34,940 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB8.0 VB9.0 VB VB.NET
Hi,

I'm using Excelwriter to write to excel without using Automation.

       Dim AnnexB3Rpt As String =  AppSettings.Get("RptAnnexB3_filepath")

       Dim stream As New FileStream(AnnexB3Rpt, FileMode.OpenOrCreate)

       Dim writer As New ExcelWriter(stream)

       writer.BeginWrite()

             Code block

       writer.EndWrite()

       stream.Close()


Is there a way on how can i specify a column length ?

I'm using VB.net 2005
Posted 6-Feb-13 19:04pm
Comments
Maciej Los 11-Feb-13 17:29pm
   
ExcelWriter - is it third party tool, class?
AYDIN EBRAHIMI HOMAY 7-Apr-13 1:02am
   
You can use office library from the .NET just take a look at this link :

http://www.codeproject.com/Articles/28795/Very-Simple-Library-to-Work-with-Excel-in-NET

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100