Sequence of Writing to Word document - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Sequence of Writing to Word document (/Thread-Sequence-of-Writing-to-Word-document) |
Sequence of Writing to Word document - Raj20091 - 12-03-2009 Hello, I take screenshots and write them to word documents. When I add the second screenshot it is added in the first page and the image in the first page is moved to the second page. Is there a way to add an image at in the second page ? In other words I want to add new pages in Word at the bottom of the current page (not on the top) Code: Dim Wrd Thanks, Raj RE: Sequence of Writing to Word document - Saket - 12-03-2009 after each time when you write in the doc you can insert a pagebreak there Code: Const wdPageBreak = 7 does this help? RE: Sequence of Writing to Word document - Raj20091 - 12-03-2009 Saket, Thanks for the suggestion. The state creates a page break, but dose not accomplish the desired result. Thanks, Raj |