Nov 25, 2003 #1 V Viper535 Member Joined Nov 25, 2003 Messages 9 Example: in VB, I created a Cell call rTotalCost rTotalCost.Formula = "=Sum(A1:A20)" and I want to format this Cell to Currency. Thank you
Example: in VB, I created a Cell call rTotalCost rTotalCost.Formula = "=Sum(A1:A20)" and I want to format this Cell to Currency. Thank you
Nov 25, 2003 #2 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* Doesnt the cell have a .Format property?
Nov 25, 2003 #3 V Viper535 Member Joined Nov 25, 2003 Messages 9 can you give the example how to format this? Thank you
Nov 25, 2003 #4 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* sorry you use the range object not the cell but something similar to Range("a1").NumberFormat = "#,##0.00" should work.
sorry you use the range object not the cell but something similar to Range("a1").NumberFormat = "#,##0.00" should work.
Nov 25, 2003 #5 V Viper535 Member Joined Nov 25, 2003 Messages 9 Hi PlausiblyDamp, Thank you for you help. I got it work.... Thanks alot