View Single Post
 
Old 03-01-2019, 06:15 AM
Bertus Bertus is offline Windows 10 Office 2016
Novice
 
Join Date: Mar 2019
Posts: 8
Bertus is on a distinguished road
Default InsertParagraphBefore Content Control

Hi, I'm trying to do:

Code:
If Len(strValue) > 1 Then
  cc.Range.Text = strValue
  cc.Range.InsertParagraphBefore
EndIf
where cc is a RichText Content control.

VBA throws a runtime error 4605 (Command not available) on the InsertParagraphBefore command

Any ideas how to get this working?

Thanks!
Bart
Reply With Quote