word runtime error 5894

R

rob

I trying to select a footer or header range in word vba
code. error message reads "command only available in print
layout mode. the code will process if i change the layout
mode on word (toolbar -> view). but if I change the view
mode in code using wdPrintView i still get the error
any ideas anyone

ta
Rob
 

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