Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-31-2015, 01:31 PM
canadansk canadansk is offline Replace checkbox symbol with check box content control Windows 7 64bit Replace checkbox symbol with check box content control Office 2010 64bit
Novice
Replace checkbox symbol with check box content control
 
Join Date: Mar 2015
Posts: 4
canadansk is on a distinguished road
Default

Hi gmaxey. Thanks for the code. Definitely looks like it's going down the path I need to travel, but I get a runtime error 4198 on the following:

Code:
 
Set oCC = ActiveDocument.ContentControls.Add(wdContentControlCheckBox, oRng)
To attempt to fix it myself, one thing I tried was to drop the ", oRng" portion, in which case the script runs through, but just puts all of the checked and unchecked document controls where my cursor happened to be.

There's a lot of Google hits on runtime error 4198 but this one might be useful?
http://support.microsoft.com/en-us/kb/275558
I'm trying to incorporate that into your script, but, as I said, I haven't used VBA in about 10 years, and even then I was barely scratching the surface.
Reply With Quote
 

Tags
check box, mail merge, word 2010



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace checkbox symbol with check box content control how to find and replace a symbol with another symbol wondermuse Word 5 10-09-2014 06:30 AM
Replace checkbox symbol with check box content control Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM
Word2010 check boxes and plain text content control boxes in same table fcsungard Word 5 06-01-2012 01:16 AM
Replace checkbox symbol with check box content control Check box symbol jdthelen Word 1 09-07-2009 01:43 PM
Excel ->VB code for Checkbox (control toolbox) kirkstyle Excel 0 08-16-2006 04:17 PM

Other Forums: Access Forums

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