View Single Post
 
Old 11-12-2019, 10:11 AM
jmadsen jmadsen is offline Windows 10 Office 2016
Novice
 
Join Date: Nov 2019
Posts: 1
jmadsen is on a distinguished road
Default Does this work in the Header of Word?

Hello, I successful got this to work in my document. Thank you! However, I would like to have this work in the Header of Word. I keep getting an error message on this line of the VBA code. Is it possible?
ActiveDocument.ContentControls(2).Range.Text = StrDetails
Reply With Quote