Hi all,
I'm pretty new to VBA and I'm currently trying to include a feature in my Word document which will hide a content control image when a button on the userform is clicked but I'm unsure of the correct code to achieve this. I've been able to accomplish this with my content control text however trying this with an image results in endless errors no matter how many variations I try.
When I macro record the creation of the content control image I want to manipulate it shows "Selection.Range.ContentControls.Add (wdContentControlPicture)" and adding a title returns "Selection.ParentContentControl.Title = "TitleOne".
I can't seem to find any examples online of this specific issue.
Bookmarks