Reply
 
Thread Tools Display Modes
  #1   Report Post  
Michael
 
Posts: n/a
Default Go to a specific line in a macro

Hello,

Macros are fairly new to me. I want to go to a specific line and then
bookmark it, and then go to another specific line and bookmark THAT one etc.
Is there an easy way (or a way at all) to accomplish this? I basically want
to automate the bookmarking of 4 lines or so in envelopes ... to transfer
them to templates of an envelope with a different format (using "IncludeText"
in the other envelope).

Thanks for any suggestions!
  #2   Report Post  
Shauna Kelly
 
Posts: n/a
Default

Hi Michael

Basically, you should be able to record a macro, and then adjust what Word
recorded to better suit your needs.

Start with this article:
Creating a macro with no programming experience using the recorder
http://www.word.mvps.org/FAQs/Macros...ngRecorder.htm

Now, examine the code the macro recorder created and read this article:

How to modify a recorded macro
http://www.word.mvps.org/FAQs/Macros...ordedMacro.htm

This article explains the basics of how the VBA syntax works:
Getting To Grips With VBA Basics In 15 Minutes
http://www.word.mvps.org/FAQs/Macros...csIn15Mins.htm

Once you've done that, if you need more help, post a question in one of the
Word VBA newsgroups, such as microsoft.public.word.vba.beginners.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Michael" wrote in message
...
Hello,

Macros are fairly new to me. I want to go to a specific line and then
bookmark it, and then go to another specific line and bookmark THAT one
etc.
Is there an easy way (or a way at all) to accomplish this? I basically
want
to automate the bookmarking of 4 lines or so in envelopes ... to transfer
them to templates of an envelope with a different format (using
"IncludeText"
in the other envelope).

Thanks for any suggestions!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bullets/numbers will not indent after first line Greg Microsoft Word Help 2 August 9th 05 12:43 AM
Vertical line--leaving line and losing the box Chad Harris New Users 1 February 1st 05 04:50 AM
Turning off Line Numbering Macro unformats my document! Victoria Page Layout 1 January 21st 05 12:34 AM
How to retain specific formatting in the same line after field ent snidely Microsoft Word Help 4 January 17th 05 02:45 AM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM


All times are GMT +1. The time now is 11:55 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"