![]() |
|
|
|
#1
|
|||
|
|||
|
Thank you so much Macropod!! <3
SOLVED!! Last edited by Makingwork; 07-12-2022 at 10:45 AM. |
|
#2
|
|||
|
|||
|
I have one more question. Let's say I have 2 more boxes that I need the Date to copy to.
Is it possible to have the Date copied to multiple boxes? If I name them all "BoxesDate" only 1 updates. Sub UpdateBoxes(j As Long, StrDt As String) With ActiveDocument.SelectContentControlsByTitle("Boxes Date")(1) .LockContents = False If j = 0 Or StrDt = "" Then .Range.Text = "" Else .Range.Text = ActiveDocument.SelectContentControlsByTitle("Date" )(1).Range.Text) End If .LockContents = True End With End Sub |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
need help creating a Word macro selecting all and changing font, size, and color thanks
|
marna | Word VBA | 4 | 12-18-2018 07:20 PM |
Creating a macro from a non-saved Word doc that duplicates the current open document and saves it
|
mike0215 | Word VBA | 3 | 11-17-2017 01:40 PM |
| Macro for creating word docs from existing template | ferocious12 | Word VBA | 5 | 02-04-2017 09:57 PM |
| help creating macro in word | cc.caroline15 | Word VBA | 10 | 02-23-2015 04:53 PM |
help creating macro
|
tingker | Word VBA | 4 | 01-08-2015 08:58 PM |