Excel 2000 VBA - Removing leading zeroes from negatives

  • Thread starter Thread starter sub_pop
  • Start date Start date
S

sub_pop

I have a cell with the following value

-0001,000,000

When I format it as currency, it keeps diplaying just as above. I wan
it to display as

($1,000,000)

Which is achived as soon as I apply the correct formatting and remov
the leading zeroes

I can set the formatting fine in a macro, but I am not sure how to ge
rid of the leading zeroes. Any help is appreciated.

Thanks,
Mar
 
Hi
how have you inserted this value (imported from a different source?)
 

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