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