wannabeguru
08-03-2015, 02:56 PM
Hi gurus,
I'm currently using the below code to insert Building Blocks based on a user's selections in a UserForm. However I can't figure out how to adjust the below code to insert each Building Block on a new page.
Any help would be much appreciated! Thanks!
Set rg = ActiveDocument.Range
rg.Collapse wdCollapseEnd
If CBMerchantAgreement.Value = True Then
Set rg = tmpl.BuildingBlockEntries("MERCHANT AGREEMENT").Insert( _
where:=rg, RichText:=True)
With rg.Font
.Name = "Times New Roman"
End With
End If
I'm currently using the below code to insert Building Blocks based on a user's selections in a UserForm. However I can't figure out how to adjust the below code to insert each Building Block on a new page.
Any help would be much appreciated! Thanks!
Set rg = ActiveDocument.Range
rg.Collapse wdCollapseEnd
If CBMerchantAgreement.Value = True Then
Set rg = tmpl.BuildingBlockEntries("MERCHANT AGREEMENT").Insert( _
where:=rg, RichText:=True)
With rg.Font
.Name = "Times New Roman"
End With
End If