![]() |
#21
|
|||
|
|||
![]()
Roger, I'm not sure I understand what you are trying to do. In the file download, I provided examples for outputting the selected date in both "D of MMMM, YYYY" and "MMMM d, YYYY" do you only want MMMM d?
If so, modify: Case "BODMDY" With oRng .Text = Format(oDate, "MMMM d") .Collapse wdCollapseEnd .Start = .End .InsertAfter fcnOrdinal(Format(oDate, "D")) .Font.Superscript = True .Start = .End '.InsertAfter " " & Format(oDate, "YYYY") (stet out this line) .Font.Superscript = False End With |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replace all Images with ordinal numbers in multiple files | beginner | Word | 0 | 09-19-2021 02:19 AM |
Formatting th at the end of ordinal dates | DBlomgren | Publisher | 0 | 01-23-2016 09:44 AM |
How do I code ListBox and DatePicker in UserForm? - Word 2013 | ickelly | Word VBA | 4 | 08-05-2015 04:07 PM |
![]() |
piper7971 | Excel | 1 | 07-26-2015 02:29 AM |
MergeField Alphabetic Ordinal substitutes _ for Z | khinnenkamp | Mail Merge | 1 | 09-29-2013 07:01 PM |