From: LA Lawyer on 31 Mar 2010 17:32 I want VBA (Word 2007) to go to the bottom of the current and insert a hard page and then insert a table of authorities. The problem is that I can't figure out how to navigate to the bottom of the page. The rest works.
From: Doug Robbins - Word MVP on 31 Mar 2010 17:35 Use ActiveDocument.Bookmarks("\page").Range.Select Selection.Collapse wdCollapseEnd Rather than using the selection however, it will probably be better to use Dim prange and Range Set prange = ActiveDocument.Bookmarks("\page").Range prange.collapse wdCollapseEnd and then operate on prange. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "LA Lawyer" <hkapp(a)kapplaw.com> wrote in message news:umQB#ER0KHA.752(a)TK2MSFTNGP04.phx.gbl... > I want VBA (Word 2007) to go to the bottom of the current and insert a > hard page and then insert a table of authorities. > > The problem is that I can't figure out how to navigate to the bottom of > the page. The rest works. >
|
Pages: 1 Prev: Character code for Enter Key Next: Problen in Find-Replace of Unicode Gurmukhi characters |