Why are you doing this through vba rather than through an
IF Field in the document itself?
You can test on a DocVariable field. You can also use Document Property Content Controls.
Repeating Data Using Document Properties Content Controls and Other Mapped Content Controls