There are hundreds of shading images in each word file,
These image formats need to be formatted with a brightness of 50 and a contrast of 100, which removes shading.
How do I batch processing?
or let me help you to ideas it, how the front of all irrelevantly replying it.
Create a new macro, copy and paste the following code as it is, and then press F5 to execute.
' Sub Macro1 ()
for i = 1 to ActiveDocument.InlineShapes.Count
activedocument.inlineshapes (i). pictureformat.brightness = 0.5 ' Sets the brightness of the embedded image to
Activedocument.inlineshapes (i). Pictureformat.contrast = #
' Sets the contrast of the embedded image to +
Next i
for i = 1 to actived Ocument. Shapes.count
If activedocument.shapes (i). Type = Msopicture then ' assumes that the floating object is a picture when handling
ActiveDocument.Shapes (i). pictureformat.brightness = 0.5
' Sets the brightness of the floating picture to
ActiveDocument.Shapes (i). Pictureformat.contrast = #
' Sets the contrast of the floating picture to +
End If
Next i
Msgbox "processing is complete! "
' End Sub
It is recommended that you use some of the batch processing features in the File batch processing Toolbox V8.0 I developed.
How do I bulk handle the formatting of pictures in Word, adjust brightness and contrast?