Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 07-25-2017, 09:25 AM
Charles Kenyon Charles Kenyon is offline Need to create document that will auto insert text based on parameters Windows 10 Need to create document that will auto insert text based on parameters Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,472
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

It can be solved so long as your date is simple. That is, if you have three fields, one for month, one for day, and one for year, it should not be difficult. If you have a date field, though, it gets tougher.

The basic field is an IF field. You have to identify your month field in some way. I would suggest using either Mapped Content Controls or legacy form fields for your drop-down. Content Controls and legacy fields should not be used in the same document, you should choose one or the other.

The advantage of the legacy controls is that you can check the "calculate on exit" box in properties and any IF fields based on that control will update automatically when the user tabs out of the control. A second advantage is that it is easy to give a legacy control a bookmark name. A disadvantage is that the document must be protected for "filling in forms" which disables ability to use many other Word features. Another disadvantage is that these are "legacy" controls and at some point Word may stop using them.

The advantage of content controls is that it can be "mapped" so that you do not need bookmarks to reference it. Another advantage is that such controls are likely to be supported in Word longer than the legacy controls. The document does not have to be severely restricted as far as editing goes.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy text to new document based on paragraph numbering mike.mm Word VBA 7 11-22-2016 06:14 AM
Need to create document that will auto insert text based on parameters How to insert hyperlink based on text PRA007 Word VBA 2 11-05-2015 05:30 AM
How to insert hyperlink based on the text PRA007 Word VBA 3 05-11-2015 01:11 AM
Need to create document that will auto insert text based on parameters Auto populate & auto calculate values from other sections in the same word document Frantic Word VBA 2 01-24-2015 04:54 PM
Need to create document that will auto insert text based on parameters Insert image based on document custom property anandyrh Word 1 08-14-2013 12:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:11 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