Request For Technical Help
So here's something I thought would be relatively easy to program in Visual Basic, but is giving me a bit of a headache. If any of my readers have any idea how I might implement this, and might give me some advice in the comments or via email, I'd appreciate it.
I'm trying to design an application in an Excel spreadsheet to easily automate a specific task. The sheet should have columns roughly like this:
Section | Open Note | Close Note |
First Section | 1 | 10 |
Second Section | 11 | 20 |
... |
One fixed cell of the spreadsheet has a file location for a Microsoft Word document that has quite a few footnotes. The application basically consists of a button that one presses after entering data in to the table above.
Upon pressing the button, the application needs to scan the Word document once for each row in the table, and find the page on which Open Note and Close Note (the footnote with those numbers) appears. It must then print that range of pages in the Word doc, go to the next line in the table, and repeat.
I'm writing some VBA to cope with this process, but I'm stumped on a few points. Given the limited nature of my coding skill, I'm mostly stumped at the hard parts. So maybe some of my readers can answer:
- What would be the best way for me to use VB code to scan the Word document to determine the page number on which Open Note and Close Note appear?
- Is there any way to tell Excel to open a different file in a program such as Word and print a given range of pages?
- Anyone know of a VBA app (or other) that already does this?
Thanks in advance for any help my more technically-minded readers have. Len, that means you. ;)
Comments
Posted by: Len Cleavelin | September 20, 2004 2:34 PM
Posted by: A. Rickey | September 20, 2004 9:01 PM