E
ecasabuena
hi guys,
I have an excel file name Product.xls which is generated from an RDL, also i
have created a Conversion Tool, which is another excel file with a macro,
which can manipulate the Products.xls to generate another report, my problem
is, in this Products.xls, there is one column named Summary which contains
more than 911 characters, when i used the Conversion Tool, it generated
another excel file, but the Summay colum contains only 255 characters.
this is a line of code from my Conversion Tool, which copy the worksheet of
Products.xls into another excel file.
Public Sub ExportDataToOutPut()
Dim ws As Worksheet, wsNew As Workbook
Dim FileName As String, I As Integer
Set wsNew = Workbooks.Add
FileName = wsNew.FullName
I = 1
For Each Worksheet In ThisWorkbook.Worksheets
Windows("Products.xls").Activate
Sheets(Worksheet.Name).Select
Sheets(Worksheet.Name).Copy Before:=Workbooks(FileName).Sheets(I)
I = I + 1
Next
please help me on how am i going to fix my problem.
your reply is highly appreciated.
thanks in advace.
I have an excel file name Product.xls which is generated from an RDL, also i
have created a Conversion Tool, which is another excel file with a macro,
which can manipulate the Products.xls to generate another report, my problem
is, in this Products.xls, there is one column named Summary which contains
more than 911 characters, when i used the Conversion Tool, it generated
another excel file, but the Summay colum contains only 255 characters.
this is a line of code from my Conversion Tool, which copy the worksheet of
Products.xls into another excel file.
Public Sub ExportDataToOutPut()
Dim ws As Worksheet, wsNew As Workbook
Dim FileName As String, I As Integer
Set wsNew = Workbooks.Add
FileName = wsNew.FullName
I = 1
For Each Worksheet In ThisWorkbook.Worksheets
Windows("Products.xls").Activate
Sheets(Worksheet.Name).Select
Sheets(Worksheet.Name).Copy Before:=Workbooks(FileName).Sheets(I)
I = I + 1
Next
please help me on how am i going to fix my problem.
your reply is highly appreciated.
thanks in advace.