excel vba timer milliseconds code example Example: excel vba milliseconds Range("A1").NumberFormat = "[h]:mm:ss.000"