The Format function formats expressions in the style specified : Format « Data Type Functions « VBA / Excel / Access / Word






The Format function formats expressions in the style specified

 
Sub FormatData()
   Debug.Print Format$(50, "Currency")
End Sub

 








Related examples in the same category

1.Format$(Now, "Short Date")
2.Format$(Now, "DDDD")
3.Format$(Now, "DDD")
4.Format$(Now, "YYYY")
5.Format$(Now, "WW")
6.Format Phone number
7.Format Postal code
8.Illustrate the Format method