TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: MS Word: Syntax for getting into a page footer to swap out graphic?
Subject:Re: MS Word: Syntax for getting into a page footer to swap out graphic? From:"Jonathan West" <jwest -at- mvps -dot- org> To:techwr-l -at- lists -dot- techwr-l -dot- com Date:Tue, 3 Jun 2008 16:42:04 +0100
2008/6/3 Dan Goldstein <DGoldstein -at- riverainmedical -dot- com>:
> I have only a partial answer. The command to jump to the footer is:
>
> ActiveWindow.ActivePane.View.SeekView = _
> wdSeekCurrentPageFooter
>
Ouch no!
This is an occasion where it is far better to learn about Range
objects, and manipulate the ranges of the headers & footers directly.
You can insert & delete stuff in any Range (and each header & footer
is a Range) without having to go into header & footer view. You can do
almost anything with a Range object variable that you can do with the
Selection, with the added advantage that it is usually quicker (the
screen doesn't flicker about so) and you can define as many ranges as
you want, while you can only have one Selection.
The following article has some good sample code describing how to use ranges
Regards
Jonathan West
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more. http://www.DocToHelp.com/TechwrlList
True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-