What is the syntax to format numbers?

Range(“<cell reference>”).NumberFormat = <”0.00” or “dd/mm/yyyy” or “General” or “Text”>
‘example
Range(“B2”).NumberFormat = “0.00” ‘converts numbers to two decimal places

 

Advertisements