Re: Word document and macro?



Yes. Write a better macro.

No one can tell you how to protect unspecified lines from a Word macro that
you wrote or recorded. What is it that the macro does? My guess is that
there is a more direct way to accomplish the task such as applying a style.

Are you by chance someone who previously used Word Perfect? WP often uses
macros to do things that are more easily done in Word using built-in tool
like AutoText or styles.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


"Susan" <dsnsacree@xxxxxxx> wrote in message
news:%23F0fug3RGHA.1572@xxxxxxxxxxxxxxxxxxxxxxx
I have recorded a macro and it works fine when applied to Word document.
Occassionally I have a few lines within the Word document that I do not
want the macro to change.

So I cut the lines out, run the macro, and then paste the lines back in.
Is there any easy way to protect those lines so that a macro will not
change them instead of cutting them out and then reinserting the lines?



.



Relevant Pages

  • Re: Placing a macro in autocorrect
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... Why would you have a macro for bold? ...
    (microsoft.public.word.docmanagement)
  • Re: How can I extract and categorize a word document
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... by creating a macro. ...
    (microsoft.public.word.vba.general)
  • Re: Spell Check Protected Form with Bookmarks
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... "Charles Kenyon" wrote: ... You might also name your starter macro ToolsProofing. ...
    (microsoft.public.word.spelling.grammar)
  • Re: Anyone have any macros for putting on copy watermark on ALL pages?
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... I have tried unsuccessfully to create a macro that will place the words ...
    (microsoft.public.word.docmanagement)
  • Re: Format Form Field
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... > a macro for that. ...
    (microsoft.public.word.mailmerge.fields)