Cell should show "0" as character....

  • Thread starter Thread starter Divy
  • Start date Start date
D

Divy

..

Hi All.....

I'm looking for entering values in the cells.

The idea here is to display wht exactly is typed without using the
hyphen " ' " key.

Specifically, i wan to show "05'' as "05" only, but when typed, it
shows "5"....

Please revert .....


Regards,
Divy
 
Divy,

One way is to format the cells as text.

1. Select the cell(s)
2. Format->Cells
3. In the Number Tab, under Category, select Text.


If you're looking for a way to do this with VBA code, something like this
will apply the Text format to the entire column A.

Range("A:A").NumberFormat = "@"
 

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

Back
Top