Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Using Word VBA to add two content controls with a carriage return in between

$
0
0

I'm very comfortable with VBA in Excel, but I'm having trouble with the Word object model. I'm trying to use VBA to add a content control, go down one line, and add another content control. I can get ContentControls.Add to work, and I can get Selection.TypeParagraph to work, but I don't see how to get the carriage return between the two controls.

Thanks,

Dom


Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>