View Single Post
 
Old 12-15-2016, 03:55 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

All you need do is change the logo's wrap format to anything other than in-line (e.g. 'in front of text') then toggle the shape's Visible property using code like:
Code:
Private Sub CheckBox1_Click()
ActiveDocument.Sections.First.Headers(wdHeaderFooterPrimary).Shapes(1).Visible = Not Me.CheckBox1.Value
End Sub
including or omitting the 'Not' according to which checkbox state the visibility is to reflect.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote