View Single Post
 
Old 03-15-2017, 09:34 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The following macro will do that

Code:
Sub TogglePicture()
Dim oRng As Range
Dim oShape As InlineShape
    Set oRng = ActiveDocument.Tables(1).Cell(4, 2).Range
    With oRng.InlineShapes(1)
        If .PictureFormat.Brightness = 1 Then
            .PictureFormat.Brightness = 0.5
        Else
            .PictureFormat.Brightness = 1
        End If
    End With
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote