HI All,
I have around 8 shapes (rectangular) in my worksheet where I assign numbers via vba code, however I seem not to get how to format the shape content to show as numbers (with commas when it thousand or million) with no decimals.
This is the code that I have. Appreciate your help in correcting the error
thank you!
splucena
I have around 8 shapes (rectangular) in my worksheet where I assign numbers via vba code, however I seem not to get how to format the shape content to show as numbers (with commas when it thousand or million) with no decimals.
This is the code that I have. Appreciate your help in correcting the error
Code:
Sub SelectAllShapesOnTheActiveSheet() ActiveSheet.Shapes.Format = Format(Value, "#,##0")
End Sub
thank you!
splucena