+ Reply to Thread
Results 1 to 2 of 2

Word Macro 2003. Need to find a text and insert some values in each begin and end of line.

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Word Macro 2003. Need to find a text and insert some values in each begin and end of line.

    Hi,

    I am struggling to create a macros to find a particular tag (<start>)and insert a values in each beginning and end of line till the tag (<end>). I can find a text and replace a value, but I could not put it in loop. Please help me out to complete this.

    Examples are given below....

    Input Example
    ==========
    word document contains the following text...

    one
    two
    <start>
    three
    four
    <end>
    some paragraph text...then
    <start>
    Apple
    Ball
    <end>

    Required output format
    =================
    one
    two
    <start>
    <beg>three<last>
    <beg>four<last>
    <end>
    some paragraph text...then
    <start>
    <beg>Apple<last>
    <beg>Ball<last>
    <end>


    I am expecting a +ve reply...

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Word Macro 2003. Need to find a text and insert some values in each begin and end of l

    How about posting your code?
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1