1
의 2 페이지 사이에 문서를 넣고 다음내가 할 수 있을지 궁금하네요 다른
- 는
- 삽입 서로이 책갈피는 페이지 번호를 식별 문서
- 내 즐겨 찾기
:Sub InsertDoc Dim MasterDoc As Document Dim bookmarkRng As Range Dim pageNo As Long Set MasterDoc = Documents.Open("Master.docx") Set bookmarkRng = MasterDoc.Bookmarks("TheBookmark").Range pageNo = bookmarkRng.Information(wdActiveEndPageNumber) '1.This is where I need to specify to insert before/after the found page, not sure how MasterDoc.InsertFile FileName:="AnotherDoc.docx" '2.Is it possible to use this syntax instead and specify before/after insertion of a whole file? MasterDoc.Bookmarks("TheBookmark").Range.InsertFile FileName:="AnotherDoc.docx" MasterDoc.Save MasterDoc.Close Set MasterDoc = Nothing End Sub
내 코드 지금까지 확인 된 페이지 전에 문서화 0
도움을 주셔서 감사합니다.