'To run this example code, create a word document called ExampleTemplate.docx with the text [ReplaceMe] in the document Dim generator As New WordReportsGenerator() 'Trial Mode 'WordReportsGenerator generator = new WordReportsGenerator("place user name here", "place license key here"); //License Mode Const sourceDocumentPath As String = "Test Documents\ExampleTemplate.docx" Const outputDocumentPath As String = "ExampleOutput.docx" Dim replacement As New Dictionary(Of String, ReplacementItem)() From {{ "[ReplaceMe]", New ReplacementItem With {.Value = "This is a test"} }} generator.GenerateWordReport(sourceDocumentPath, outputDocumentPath, replacement)