cancel
Showing results for 
Search instead for 
Did you mean: 

Format Cells - MS Excel VBO

poojagupta83
Level 3

I have an excel file with multiple columns. I need to format particular columns to not contain parenthesis, no commas, no dollar signs, and two digits after the decimal. Is there a particular formatting code that I can use?

1 REPLY 1

MichealCharron
Level 8

@poojagupta83

You can use the formatting code "0.00" to get what you are looking for (if negative sign is okay).

To find the codes that the "Format Cell" action (from BP's "MS Excel VBO" VBO) will accept, you can prototype it in Excel's "Format Cells" dialog:

36024.png

And then select the "Custom" category to see the proper formatting code:

36025.png
Micheal Charron
RBC
Toronto, Ontario
Canada