header/footer toolbar in vista

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, just changed to vista from XP, trying to insert a filename and path in a
footer in a word doc. and I can't find the header/footer toolbar, let alone
the auto text
 
Run the following macro (if you need assistance, see
http://www.gmayor.com/installing_macro.htm):

Sub RestoreHFToolbar()

ActiveWindow.ActivePane.View.Type = wdPrintView

ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader

With CommandBars("Header and Footer")
.Enabled = True
.Top = 0
.Left = 0
End With
End Sub

The macro, which assumes you are running Word 97, 2000, 2002, or 2003,
enables the Header and Footer toolbar and places it at the top left of
your screen. Drag it to the desired location.

--
Stefan Blom
Microsoft Word MVP


in message
news:D[email protected]...
 
Use the following macro instead:

Sub RestoreHFToolbar()
ActiveWindow.ActivePane.View.Type = wdPrintView

ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader

With CommandBars("Header and Footer")
.Enabled = True
.Position = msoBarFloating
.Top = 0
.Left = 0
End With

End Sub

--
Stefan Blom
Microsoft Word MVP


in message
 

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

Back
Top