N
.Net
Hi There...need help real bad!
I'm looking for a code that I could use to format an excel cell dynamically
when creating a new instance of excel for an card account number field type
with more than 15 digits.
Here is the scenario.
Column name: Card Account
Card account number: xxxxxxxxxxxxxxxx
I cannot format the cells as number so I have to format as text. However,
when I run the process that I have telling to format the column as text (@)
it gives me the result in scientific notation because of the
length, I think.
Here is the VB.NET code:
Select Case sFieldType
Case "Text"
objWorksheet.Range(objWorksheet.Cells(2, i + 1),
objWorksheet.Cells(CStr(mlRecordCount), i + 1)).NumberFormat = "@"
I just need to display the acc. number as is...can someone please help me!
Gladly appreciatted...
Sincerely,
Marlei Taylor
I'm looking for a code that I could use to format an excel cell dynamically
when creating a new instance of excel for an card account number field type
with more than 15 digits.
Here is the scenario.
Column name: Card Account
Card account number: xxxxxxxxxxxxxxxx
I cannot format the cells as number so I have to format as text. However,
when I run the process that I have telling to format the column as text (@)
it gives me the result in scientific notation because of the
length, I think.
Here is the VB.NET code:
Select Case sFieldType
Case "Text"
objWorksheet.Range(objWorksheet.Cells(2, i + 1),
objWorksheet.Cells(CStr(mlRecordCount), i + 1)).NumberFormat = "@"
I just need to display the acc. number as is...can someone please help me!
Gladly appreciatted...
Sincerely,
Marlei Taylor