I need to write data table values to it and save as new word document.For that, i need to create multiple word documents dynamically.Let me know whether there is any option to perform ‘Save as’ functionality in word.
You can use Word Application Scope with a dynamically given document name. Use the Scope in a loop so that you can create multiple documents.
If you want to make minor changes to the same document and ‘save as’ multiple times, then you could also consider using Word application itself and use ‘Attach Window’ to perform UI automation.
F12 is the Shortcut key to bring up ‘Save As’ dialog box. Make changes and Send Hotkey ‘F12’. Rinse and Repeat.
I hope this helps.