Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. InsertBreak Type:=wdSectionBreakNextPage You can follow the question or vote as helpful, but you cannot reply to this thread. InsertFile FileName:=myName, ConfirmConversions:=False I want to insert multiple picture and have their file names inserted as captions This thread is locked. This example creates a new document and then inserts the contents of each text file in the C:\TMP folder into the new document. Selection.InsertFile FileName:="C:\TEST.DOC", Link:=True Selection.Collapse Direction:=wdCollapseEnd This example uses an INCLUDETEXT field to insert the TEST.DOC file at the insertion point. True to insert the file as an attachment to an email message. True to insert the file by using an INCLUDETEXT field. True to have Word prompt you to confirm conversion when inserting files in formats other than the Word Document format. From the Header
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |