Imports GemBox.Document Module GemBoxDocumentHelper Public Function JoinWith(destinationDocument As DocumentModel, filePath As String) As DocumentModel Dim sourceDocument As DocumentModel = DocumentModel.Load(filePath) For Each sourceSection As Section In sourceDocument.Sections Dim destinationSection As Section = destinationDocument.Import(sourceSection, True, False) destinationDocument.Sections.Add(destinationSection) Next Return destinationDocument End Function End Module