Results 1 to 2 of 2

Thread: [RESOLVED] Comparing text in word

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    5

    Resolved [RESOLVED] Comparing text in word

    Hi,
    I have a large document that i need to seperate into chapters
    each section has the following
    title
    subject
    description
    procedure

    i am able to find and copy/paste the title description and procedure into a table in a different document the problem is i want to be able to put the word associated with subject into a variable and compare it to another variable so that i can

    if subject is different, put in a new chapter

    if subject is the same continue on as normal

    hope someone can help
    cheers

  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    5

    Re: Comparing text in word

    code i was looking for was

    variablename = Selection.text

    i feel like an idiot

Posting Permissions

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



Click Here to Expand Forum to Full Width