P
Perky Penni
Using Word XP, VBA. I have been trying to figure out how to change the basic
page setup for the second page header on a letter template that, when
finished by the user, is a 1-page Word document. Currently, the second page
header has been set up with 3 fields which give the address, the date, and
page number. However, after that header was set up, then the template was
made a 1-pager. The letter is not any fixed size. It can be one page or
more than one page when someone adds the body of the letter. Now, when I try
to code for the second page to change the Header margin, I get an error
message that the collection doesn't exist. Here is the line of code that it
burps on.
ActiveWindow.ActivePane.View.SeekView = wdSeekPrimaryHeader
If anyone has any ideas, that would be great. Thanks.
page setup for the second page header on a letter template that, when
finished by the user, is a 1-page Word document. Currently, the second page
header has been set up with 3 fields which give the address, the date, and
page number. However, after that header was set up, then the template was
made a 1-pager. The letter is not any fixed size. It can be one page or
more than one page when someone adds the body of the letter. Now, when I try
to code for the second page to change the Header margin, I get an error
message that the collection doesn't exist. Here is the line of code that it
burps on.
ActiveWindow.ActivePane.View.SeekView = wdSeekPrimaryHeader
If anyone has any ideas, that would be great. Thanks.