Log in

View Full Version : Search Word document using Heading numbers



debkev1010
07-30-2008, 10:36 AM
I have an Excel spreadsheet that contains information from a Word document that I manually typed in. The information is sorted by the heading number which i got from the document (manually)...

Heading ........ Requirement No.
3.2.5.2.1 .............. 1
3.2.5.2.1 .............. 3
3.2.5.2.2 .............. 3

and so on.

I would like my VBA code to find these headings in the word document and eventually the Requirement No. within the section. I will paste some attributes to each Requirement No. but right now I have no idea of how to search for heading numbers.

Thanks,
Kevin

mdmackillop
08-02-2008, 03:07 AM
Coincidentally, I've been working on a problem here (http://vbaexpress.com/forum/showthread.php?t=21214) to send data to excel based on finding a search string, which could probably be configured to suit your requirement.