View Single Post
 
Old 07-28-2017, 08:47 AM
corriganc corriganc is offline Windows 10 Office 2016
Novice
 
Join Date: Jul 2017
Location: United Kingdom
Posts: 6
corriganc is on a distinguished road
Angry 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!]
Attached Files
File Type: docx template-broken-upload.docx (29.3 KB, 11 views)
File Type: docx template-workingish-upload.docx (30.6 KB, 10 views)
Reply With Quote