Home > database >  PB and word communication
PB and word communication

Time:09-20

Selection. InlineShapes. AddPicture FileName:=_
"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 again

CodePudding user response:

When Word, adjust to record a macro, study the macro code, and then directly write the macro code in PB

CodePudding user response:

A general solution is dealing with VBA macros

CodePudding user response:

VBS refer to the following

For 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
  • Related