ActiveDocument.PageSetup.PaperSize

C

Clint McGee

Are there known issues with using
ActiveDocument.PageSetup.PaperSize on a Mac? I get a "Run-
time error '5861':" and for the description it has little
box symbol. This occurs on multiple machines OS 8.6 and
OS 9 and with different versions of Word. The version I
would like to get working is Word 98. I got the error on
Word 2001 also.

I need to change page layout somehow, and changing
the .PageWidth and .PageHeight doesn't actually change it
on the Mac for some reason... it looks like it does, but
it doesn't in the page setup or print preview (or prints)

Anyone tackled this problem before?

-Clint McGee
 
W

Word Heretic

G'day "Clint McGee" <[email protected]>,

yes, you need to use the section

ActiveDocument.Sections(1).PageSetup

for example


Clint McGee said:
Are there known issues with using
ActiveDocument.PageSetup.PaperSize on a Mac? I get a "Run-
time error '5861':" and for the description it has little
box symbol. This occurs on multiple machines OS 8.6 and
OS 9 and with different versions of Word. The version I
would like to get working is Word 98. I got the error on
Word 2001 also.

I need to change page layout somehow, and changing
the .PageWidth and .PageHeight doesn't actually change it
on the Mac for some reason... it looks like it does, but
it doesn't in the page setup or print preview (or prints)

Anyone tackled this problem before?

-Clint McGee

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email: (e-mail address removed)
Products: http://www.geocities.com/word_heretic/products.html
Spellbooks: 728 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.
 
C

Clint McGee

Using the section gives the same error. Macintosh is the
key -- everything seems to work fine on the PC. (but my
user doesn't have a PC)

-Clint
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top