B
bob
Hi,
Trying to format a column to text so that I can have leading 0's in
some numbers.
Can't have quotes around the numbers so need to format cells.
tried
Range rge = ws.get_Range("F1", "F80");
rge.Style = XlColumnDataType.xlTextFormat;
This errors with the enum value not found;
Looking at the enum name I would have expected to be able to set a
column type property but I can't find a way to do it.
Thanks
Bob
Trying to format a column to text so that I can have leading 0's in
some numbers.
Can't have quotes around the numbers so need to format cells.
tried
Range rge = ws.get_Range("F1", "F80");
rge.Style = XlColumnDataType.xlTextFormat;
This errors with the enum value not found;
Looking at the enum name I would have expected to be able to set a
column type property but I can't find a way to do it.
Thanks
Bob