Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-28-2017, 08:47 AM
corriganc corriganc is offline Want to use the DateAdd function to type text at a location in word document, using date from CC Windows 10 Want to use the DateAdd function to type text at a location in word document, using date from CC Office 2016
Novice
Want to use the DateAdd function to type text at a location in word document, using date from CC
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to use the DateAdd function to type text at a location in word document, using date from CC How to have the location (path) of the Word document on the title bar? Jamal NUMAN Word 24 09-06-2017 12:18 PM
Returning text, date, time, location from one Excel sheet to another dave57 Excel 17 06-15-2017 10:45 AM
Want to use the DateAdd function to type text at a location in word document, using date from CC Word type document auto fill in Sircooks Excel 5 05-14-2016 05:01 AM
Want to use the DateAdd function to type text at a location in word document, using date from CC Why do pages 10-24 disappear when I type in more text on page 2 or paste new text into the document? RET Word 1 05-02-2016 07:28 PM
Date Function in word? aligahk06 Word 1 04-21-2010 06:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft