how do you send a page break to a word bookmark?

smdesq
07-20-2001, 08:47 PM
I am sending data from a MS/Access vba program into a MS/Word template document bookmark. I want to include a page break in the bookmark. I know that CHR(13) does a carriage return, but I can't seem to find one that does a page break. there must be something. Thanks

BlueRaja
07-21-2001, 03:46 AM
Hi,

I think it's Chr(12).

- If this doesn't work you might be able to do something like ....

objWord.Selection.InsertBreak Type:=wdPageBreak

- Hope this helps.

smdesq
07-28-2001, 08:03 PM
thanks for the reply. chr(12) is what i needed

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum