Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2018, 11:11 AM
Gilvv Gilvv is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Oct 2016
Posts: 30
Gilvv is on a distinguished road
Default

Hi, Andrew.

Thanks again for your help and advice. Extremely valuable and much appreciated.

On the good side: It looks like in all of the files the programming text is always written in Gray (50%)

On the bad one: I tried running the Macro at work but get an error message:

Run-time error ‘5224’:
This is not a valid section

The debugging window identifies this line of code:



aRng.ContentControls.Add (wdContentControlGroup)

My VBA knowledge is rudimentary at best and cannot see what is creating this issue. I'll do some searching on that.

(Yesterday I got the same error message and, on the fly and in my personal computer (Office 2016), I tried changing “wdColorGray50” to “wdColorGray”. The Macro ran then but I didn't get any effect from it —as expected, I suppose.)

Best regards.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Save as .docx without content controls (just the text that was written in them) vitesse Word VBA 6 08-12-2022 02:01 AM
How do I lock an editable text box header and stop it moving with the rest of the main body text? thegaffa Word 6 09-28-2018 09:21 AM
Most efficient way to store numerous charts? RAB PowerPoint 0 07-13-2015 07:17 AM
Lock Text In a Document la_gillespie25 Word 4 05-15-2013 07:09 AM
Animation: text appears as if written by pen ionas.iona PowerPoint 0 03-31-2011 05:23 PM

Other Forums: Access Forums

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