Separating a word file using executable script

T

Tom

I have a 200 page word document that contains information on applications.
There are 50 unique application numbers in the file. I would like to obtain
some script that will do the following:
1. Find the unique application numbers (which is a bookmark) in the 200 page
word document.
2. and separate and save each application number into it's own the word
document.
3. in a folder on my c drive.

I'm hoping that the script will be an executable file. I want to place the
200 page document
in a folder along with the script and run it from the folder.

We do not create the files at our office. They come from many sources
outside our office so I have no control
over changing the way we receive them.
Can some help?

Thanks for your help
Thomas - vba deficient
 
A

Anand.V.V.N

Hi Tom,
This can be done in Visual Basic in case if you want it to be a stand alone
application. you good in Visual Basic Tom? Or else you can write a VBA code
that would open that file and then search for application number.

Either way Tom the method is same. What's the number format i.e. is it like
1,2,3,4 etc or or is it a combination of a pattern and a number i.e.
<application numebr>1,<application number>2 etc?

If it a number search the document for number that appears only once, after
the number how many lines are there, a single line or multiple line?

Anand
 
J

Jeanne Moos

Hi Anand

I'm not good with VB at all. I'm very very new so your guidance will be
appreciated.
The application number is a combination of letters and numbers.
Some examples are: MED00001, PU010001, PF010004, PU010023.

My report starts with the following:

Application number: PU010023
(There is two lines between the application number and the rest of the data)
Title: This is the title
Inventor: inventors are listed
Counsel:Name of counsel
Summary: this is the summary
(There is more but this is how it sort of looks like)

Thanks for your help
 
A

Anand.V.V.N

Hi Jeannne

I was trying it, I had a doubt though if the unique numbers are found you
want the whole bunch of test i.e. Staring with the Application Number to the
summary and also the summary too right?

Anand
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top