Formatting a cell

J

Jean Claude

Hi all

Using VB, I created a new sheet.
I would like to format a certain column so when my VB program put numerical
values starting with zero, the zero would stay.
Example: "01234" should read "01234" when the file is opened with Excel.
At the moment when I open the file with Excel, the reading is "1234" (the
leading zero is omitted)

Maybe I should format the column as "Text"
How do I do that please?


TIA
Guy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top