Macro to view a page

B

BobS

I use Office 2003 and have seen a macro used that allows you to click a key
and see your whole page and edit it, and then click the same key again and
the page view goes back to the view it was in before you changed to full
page view. Can anybody tell me where to find this macro and how to assign
it to a function key? Thank you very much.
Bob
 
B

Bob S

Since posting this, I have learned how to assign a macro to a keystroke at
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm. Thank
you mvp's.
I have also found a macro in my list which seems by its name to be for this
purpose. I have listed it below. Alas, when I run it I see no difference
on the screen. Can anyone help? Thanks.

Sub ViewPage()
'
' ViewPage Macro
' Displays the page as it will be printed and allows editing
'
If ActiveWindow.View.SplitSpecial = wdPaneNone Then
ActiveWindow.ActivePane.View.Type = wdPrintView
Else
ActiveWindow.View.Type = wdPrintView
End If

End Sub
 

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