View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jan Kronsell Jan Kronsell is offline
external usenet poster
 
Posts: 99
Default Insert Pagebreak in Word document

I did set the reference, but somehow I must have removed it again. Thanks.

Jan

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

if not you need to define the constant

Const wdPageBreak = 7