Want to use the DateAdd function to type text at a location in word document, using date from CC
I am trying to get a macro (VBA) to type the date in 6 or 12 months time.
I have managed to get it to work from today's date but that is unfortunately not the date that we need.
We need it to add 6 or 12 months onto a date which is specified by the user in a DatePicker Content Control.
The way this will be done is the user will either click "6th Months" or "12 Months" (MacroButtons) and this will run the corresponding macro (6 months will add 6 months onto the date specified).
I then also need the macro to delete the other MacroButton, so that only the clicked button remains.
I really need this urgently, and any help that anyone can provide will be greatly appreciated.
Please disregard all VBA code within this doc, as the majority no longer works due to me keep having to change various parts.
Please someone help me!!!
Thankyou.
[I'm only 15 and I'm really really new to this!]
|