The following macro will insert the current time at the cursor. Whatever
else you do with the document is a matter for you
Sub InsertTimeLowerCase()
With Selection
.Collapse Direction:=wdCollapseStart
.InsertAfter Format(Time(), "h:mm" & Chr(160) & "am/pm")
.Collapse Direction:=wdCollapseEnd
End With
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.