"Jack" wrote:
[Quoted Text] > Hi, > > I have job to verify data available in doc/rtf files. For verification > I am opening file in the instance of WinWord(MS Word) application. I > do the process page by page for detailed comparison. > > The actual problem starts when I shift cursor to any pages using > following code : > > MsWord.Selection.GoTo(Word.WdGoToItem.wdGoToPage, _ > Word.WdGoToDirection.wdGoToAbsolute, IntCounter) > > Here [ IntCounter ] is variable for page counter. > > Statement executes perfectly and cursor sifted to exact starting > position of page. But the first line of the page shifted at the > bottom of the upper page. As result such data not verified.
Maybe you are using a different printer from the one that was used when creating the files. Word reflows the text differently than when it was first set?
Do you observe this behaviour with every single page of every single document you process? What Word version are you using?
|