Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2012, 02:12 AM
bortonj88 bortonj88 is offline Macro to link 2 content controls Windows 7 32bit Macro to link 2 content controls Office 2007
Novice
Macro to link 2 content controls
 
Join Date: Aug 2012
Posts: 2
bortonj88 is on a distinguished road
Default Macro to link 2 content controls

Hello all



I am creating a word form, and need to link two specific fields with each other.

I need to link the calendar content control, so that another area of the form updates to the day of the date selected. ie 21 August 2012 ---- Tuesday.

I have attached an image for you to get an idea what I'm talking about.

Can anyone shed on light on this problem for me?

Many Thanks


JB
Attached Images
File Type: jpg Word form_calendar inputs.jpg (35.8 KB, 18 views)
Reply With Quote
  #2  
Old 08-21-2012, 03:38 AM
macropod's Avatar
macropod macropod is offline Macro to link 2 content controls Windows 7 64bit Macro to link 2 content controls Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

hi JB,

See attached. The document contains two content controls, named 'CCDate' and 'WeekDay', respectively, and a 'ContentControlOnExit' sub that updates the 'WeekDay' content control.
Attached Files
File Type: zip Linked Content Controls.zip (30.5 KB, 33 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-21-2012, 06:24 AM
bortonj88 bortonj88 is offline Macro to link 2 content controls Windows 7 32bit Macro to link 2 content controls Office 2007
Novice
Macro to link 2 content controls
 
Join Date: Aug 2012
Posts: 2
bortonj88 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
hi JB,

See attached. The document contains two content controls, named 'CCDate' and 'WeekDay', respectively, and a 'ContentControlOnExit' sub that updates the 'WeekDay' content control.
Macropod!!

You are awesome! Thanks alot, very much appreciated!

JB
Reply With Quote
Reply

Tags
content control, marco

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to link 2 content controls Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
Macro\Form controls not displayed when printing? shabbaranks Word 1 07-13-2012 04:20 AM
Content Controls Form Programming beachdog Word VBA 4 09-20-2011 10:26 AM
Macro to link 2 content controls Grouping Content Controls cksm4 Word VBA 2 03-01-2011 12:46 PM
Macro to put content into keywords properties? erik2000 Word VBA 3 03-05-2010 10:14 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:36 PM.


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