Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2014, 03:53 PM
macropod's Avatar
macropod macropod is offline Calculate Age From Content Controls Windows 7 32bit Calculate Age From Content Controls Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

I don't understand what you mean by 'grouping'.



The error message you're reporting suggests you've applied some form of protection to the document. Note that, unless you're actually trying to prevent editing somewhere, you don't need protection with content controls. If you do want protection, you'll need to add some content controls to the 'age' cells and the code will need a minor modification to send its output to those contents controls - the two references to:
Code:
.Paragraphs.Last.Range.Text =
will need to be changed to:
Code:
.Paragraphs.Last.Range.ContentControls(1).Range.Text =
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
age;content control



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Age From Content Controls VBA to set Content controls as non printing Sammie0Sue Word VBA 21 01-12-2021 04:44 PM
Content Controls in Headers ejungk99 Word 2 06-16-2014 04:02 PM
Calculate Age From Content Controls Updating an old form with Content Controls Something Anon Word 4 03-26-2014 03:53 PM
Calculate Age From Content Controls Content Controls Sammie0Sue Word 6 11-06-2013 10:56 PM
Calculate Age From Content Controls Grouping Content Controls cksm4 Word VBA 2 03-01-2011 12:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 PM.


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