Sub Test() Dim s As Shape For Each s In ActivePage.Shapes If s.Type = cdrBitmapShape Then If s.Bitmap.Mode <> cdrPalettedImage Then s.Bitmap.ConvertToPaletted cdrPaletteOptimized, cdrDitherNone, , 5 End If End If Next sEnd Sub