numberFormat

D

destatnj2

Hi All,

Try this: Right click on a cell, select "Format Cells..." go to the
"Number" tab and select "Number"...

Then write a function where you select that particular cell and then say:

Range("ParticularCell").Select
ActiveCell.NumberFormat = "@"

to explicity change the cell format from "Number" to "Text". If you run the
function and then go back to that cell on the sheet, right click and check
the "Format Cells..." properties, you will find that the cell is still
"Number" and not "Text" format. Am I doing this the wrong way?

Thanks,

Pete
 

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