"File path" _
, LinkToFile:=False, SaveWithDocument:=True
After using the VBS how to adjust the picture size
CodePudding user response:
Use the API adjusted on bai againCodePudding user response:
When Word, adjust to record a macro, study the macro code, and then directly write the macro code in PBCodePudding user response:
A general solution is dealing with VBA macrosCodePudding user response:
VBS refer to the followingFor j=1 To ActiveDocument InlineShapes. Count 'files in the total number of images, image type For InlineShapes
ActiveDocument. InlineShapes (j) Height setting Height=362 '
ActiveDocument. InlineShapes (j) Width=481.87 'set Width
Next j
CodePudding user response:
The code into the pb