Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-31-2019, 04:09 AM
lmoir87 lmoir87 is offline VBA to Populate text content controls in word from excel Windows 7 64bit VBA to Populate text content controls in word from excel Office 2010 64bit
Novice
VBA to Populate text content controls in word from excel
 
Join Date: Jul 2014
Posts: 7
lmoir87 is on a distinguished road
Default VBA to Populate text content controls in word from excel

Hi

I am trying to populate a word document with named ranges/cells in an excel template.



My first iteration was using 'Label' and i was able to get these to populate as follows;

Code:
ThisDocument.Label1.Caption=workbook.Sheets("Sheet1").Range("Label1)
However, I would prefer to use a Rich Text content control, so that the formatting matches the document and so it is possible to click into the content control after it has been populated.

Thanks
LM
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA to Populate text content controls in word from excel Content Controls for large quantities of text tonia8675309 Word 5 06-08-2018 04:42 PM
VBA to Populate text content controls in word from excel Populate Content Control Dropdowns from Excel Deirdre Kelly Word VBA 23 09-07-2017 02:51 PM
VBA to Populate text content controls in word from excel Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
VBA to Populate text content controls in word from excel Moving between Rich text content controls Sammie0Sue Word 4 03-12-2014 01:43 AM
VBA to Populate text content controls in word from excel Rich Text Content Controls: Formatting? tinfanide Word VBA 8 03-04-2013 04:15 AM

Other Forums: Access Forums

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