Word批量插入照片宏 - VBA代码详解
This is a VBA macro code for Word that allows the user to select multiple Word documents and insert a batch of photos into each of them. The code uses a file dialog box to allow the user to select the documents, and then prompts the user to enter various parameters such as the width and height of the photos and the range of photo numbers to insert.
The code then loops through each selected document, inserts a page break, and inserts a template file containing the photo placeholders. It then resizes each photo in the selected range to the user-specified dimensions and saves and closes each document.
Finally, a message box is displayed to inform the user that the batch photo insertion process is complete.
原文地址: https://www.cveoy.top/t/topic/mOcH 著作权归作者所有。请勿转载和采集!