View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_942_] joel[_942_] is offline
external usenet poster
 
Posts: 1
Default Insert Pagebreak in Word document


did you add the reference for the micrtosoft word in the VBA options?

if not you need to define the constant

Const wdPageBreak = 7


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=198796

http://www.thecodecage.com/forumz