Article ID: 162857
Article Last Modified on 10/11/2006
Sub MakeTransparent()
With ActiveWindow.Selection.ShapeRange
.PictureFormat.TransparentBackground = msoTrue
' If you want to make a different color transparent, change the RGB
' values in the next line of code. For example, if you want to make
' black the transparent color, change:
'
' RGB(255, 255, 255)
'
' to
'
' RGB(0, 0, 0)
'
.PictureFormat.TransparencyColor = RGB(255, 255, 255)
.Fill.Visible = msoFalse
End With
End Sub
176476 OFF: Office Assistant Not Answering Visual Basic Questions
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: 8.00 kbualink97 ppt8 vba vbe powerpnt ppt8.0 macppt mac_ppt ppt98 powerpt GIF TIFF TIF TGA TARGE clear program programming
Keywords: kbcode kbdtacode kbhowto kbmacro kbprogramming KB162857