Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2013, 02:21 PM
SuzeG SuzeG is offline Assign a value to a Content Control Windows 7 64bit Assign a value to a Content Control Office 2010 64bit
Novice
Assign a value to a Content Control
 
Join Date: Dec 2013
Location: Va Beach
Posts: 21
SuzeG is on a distinguished road
Default

Thank you for your quick response on a Saturday no less!



Alas I did not count the header row!! But now it is stuck at the next line of code. My ContentControl is in column 2.

Code:
If .Range.Text <> .PlaceholderText Then
Thanks for the posting tip.
Reply With Quote
  #2  
Old 12-07-2013, 06:49 PM
macropod's Avatar
macropod macropod is offline Assign a value to a Content Control Windows 7 32bit Assign a value to a Content Control Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,526
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

Quote:
Originally Posted by SuzeG View Post
Thank you for your quick response on a Saturday no less!
Actually, it was Sunday am here...
Quote:
Alas I did not count the header row!! But now it is stuck at the next line of code. My ContentControl is in column 2.
Code:
If .Range.Text <> .PlaceholderText Then
OK, you're stuck, but in what way?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-07-2013, 08:14 PM
SuzeG SuzeG is offline Assign a value to a Content Control Windows 7 64bit Assign a value to a Content Control Office 2010 64bit
Novice
Assign a value to a Content Control
 
Join Date: Dec 2013
Location: Va Beach
Posts: 21
SuzeG is on a distinguished road
Default

Sorry, the error is

Run-time error '91':
Object variable or With block variable not set

when I click on debug the line in my last post is highlighted.
Reply With Quote
Reply

Tags
content controls, vba

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assign a value to a Content Control Move to next content control cksm4 Word VBA 13 07-02-2019 07:48 PM
Assign a value to a Content Control Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM
Assign a value to a Content Control Content control problem Anja Word 2 10-16-2013 09:56 AM
Assign a value to a Content Control Hierarchical content control ntjson Word VBA 1 04-04-2013 12:07 AM
Assign a value to a Content Control Content control titles jillapass Word VBA 3 05-29-2012 06:11 AM

Other Forums: Access Forums

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