Cognize
asked on
Need To Format a Excel Worksheet Cell from VB.NET Code
Hi I'm using com objects to format cells in an excel sheet from VB.NET code.
I've got code for simple formatting like so:
EX.Document.worksheets(1). Range("A1: A1000").Fo nt.Bold = True
I need to be able to specify that cells in a certain range should be left padded with zeros where they are less than 4 characters long.
Psuedo Code:
EX.Document.worksheets(1). Range("A1: A1000").Fo rmat(Lpad( '0',4))
Does such functionality exist to do this??
I've got code for simple formatting like so:
EX.Document.worksheets(1).
I need to be able to specify that cells in a certain range should be left padded with zeros where they are less than 4 characters long.
Psuedo Code:
EX.Document.worksheets(1).
Does such functionality exist to do this??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER