Excel

shireeshn

Member
Irrespective of user setting using com handle, how can I set the currency to ‘$’ always with two decimal places.
 
/*This should do as you require*/

/*objRange is your Range com-handle*/
objRange = objSheet:Range(Firstcell , Lastcell).

objRange:NumberFormat = "[$$-409]#,##0.00".
 
Back
Top