A family of Microsoft word processing software products for creating web, email, and print documents.
As I suspected, the code adds the date/time and leaves the Selection (the insertion point) at the right end of the inserted text. All of the formatting that follows is applied only at that insertion point and doesn't affect the date/time at all. When the nonprinting and hidden text is displayed by clicking the ¶ button on the Home ribbon, it looks like this, where I typed the large text to show where the formatting wound up:
Furthermore, all of the formatting added by the macro recorder -- except for the Hidden setting and the font size -- is the same as the default format of the Normal style and doesn't change anything. (This is a common failing of the recorder, which I wrote up many years ago in this article.)
To get the desired result
you can use the code below. It saves the location of the start of the date/time before inserting it; when the Selection winds up at the right end of the date/time, the next statement resets the Start (the left end of the Selection) back to the original location. That causes the Selection to cover the entire date/time, and the rest of the formatting -- only the two pieces that are not default values -- applies to the extended Selection.
Sub Time_v2()
Dim SelStart As Long
With Selection
SelStart = .Start
.InsertDateTime DateTimeFormat:="M/d/yyyy h:mm am/pm", InsertAsField:=False
.Start = SelStart
.Font.Hidden = True
.Font.Size = 16
End With
End Sub