Re: VBA word Table Page
- From: Cindy M -WordMVP- <C.Meister-C@xxxxxxxxxx>
- Date: Fri, 20 Jan 2006 18:37:10 +0100
Hi =?Utf-8?B?UmFt?=,
> Thanks for your help. I Actually, I tried using Selection.GoTo
> What:=wdGoToPage, Which:=wdGoToNext with a For loop. But somehow its not
> going to next page. Its staying in the second page but its pasting the 3rd,
> 4th pages first cell contents in second page first cell. I will try with the
> code that you gave me now.
>
Be careful about resetting the RANGE. The code I gave you only uses Selection
to get to a particular page. Then it works relative to a range. So you'll need
to be sure the range is referring to the correct page. From the sound of it,
you need to make sure this are reset when you move to a new page
Set rngPg2 = ActiveDocument.Bookmarks("\Page").Range
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
.
- References:
- Re: VBA word Table Page
- From: Cindy M -WordMVP-
- Re: VBA word Table Page
- Prev by Date: VBA word Table Page
- Next by Date: Changing the *** tab color
- Previous by thread: VBA word Table Page
- Next by thread: Changing the *** tab color
- Index(es):