Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Find function question-help!
Hi-
I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! |
#2
|
|||
|
|||
There's nothing comparable to this, but you can "Highlight all items found"
so that you can scroll through the document and look at all the found terms, or you can step through one at a time using Find Next. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "nycguy96" wrote in message ... Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! |
#3
|
|||
|
|||
nycguy96 wrote:
Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#4
|
|||
|
|||
Wow Jay-Thanks very much for the help! I look forward to your results and
really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#5
|
|||
|
|||
OK, I got it posted. Download http://jay-freedman.info/finder.zip and
unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#6
|
|||
|
|||
Sweet :-)
-- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Jay Freedman wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#7
|
|||
|
|||
THANK YOU Jay! That is amazing-It totally works great. I hate to be
nitpicky-but if the word that I search for is very near the beginning of the sentence (like the 2nd word in the sentence) then the search result simply shows "..." Is there any way to fix this? Also, is there any way to increase the amount of words that it shows to make it greater then three words (like 6 words instead)? Again, thank you very much-I really appreciate it! "Jay Freedman" wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#8
|
|||
|
|||
Try it again -- same URL.
The code now does try to select 6 words before and after the search term. Understand, though, that when Word counts "words" it includes punctuation and paragraph marks, so what you see may be less. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 18:33:02 -0700, "nycguy96" wrote: THANK YOU Jay! That is amazing-It totally works great. I hate to be nitpicky-but if the word that I search for is very near the beginning of the sentence (like the 2nd word in the sentence) then the search result simply shows "..." Is there any way to fix this? Also, is there any way to increase the amount of words that it shows to make it greater then three words (like 6 words instead)? Again, thank you very much-I really appreciate it! "Jay Freedman" wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#9
|
|||
|
|||
You must not use footnotes very often. g
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Jay Freedman" wrote in message ... OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#10
|
|||
|
|||
Thanks-it looks great Jay! For some reason, it is still pulling "..." or
similar when the word is close to the beginning of the sentence-is there any way to tell the code not to look at blanks and only pick out words? If this is not possible then no big deal-it looks awesome the way it is! thanks again! "Jay Freedman" wrote: Try it again -- same URL. The code now does try to select 6 words before and after the search term. Understand, though, that when Word counts "words" it includes punctuation and paragraph marks, so what you see may be less. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 18:33:02 -0700, "nycguy96" wrote: THANK YOU Jay! That is amazing-It totally works great. I hate to be nitpicky-but if the word that I search for is very near the beginning of the sentence (like the 2nd word in the sentence) then the search result simply shows "..." Is there any way to fix this? Also, is there any way to increase the amount of words that it shows to make it greater then three words (like 6 words instead)? Again, thank you very much-I really appreciate it! "Jay Freedman" wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#11
|
|||
|
|||
OK, I understand now. The "..." doesn't have anything to do with how
close the word is to the beginning of the sentence. The code was putting it at the start and end of every entry. I've taken it out now. Have fun! -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 21:01:12 -0700, "nycguy96" wrote: Thanks-it looks great Jay! For some reason, it is still pulling "..." or similar when the word is close to the beginning of the sentence-is there any way to tell the code not to look at blanks and only pick out words? If this is not possible then no big deal-it looks awesome the way it is! thanks again! "Jay Freedman" wrote: Try it again -- same URL. The code now does try to select 6 words before and after the search term. Understand, though, that when Word counts "words" it includes punctuation and paragraph marks, so what you see may be less. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 18:33:02 -0700, "nycguy96" wrote: THANK YOU Jay! That is amazing-It totally works great. I hate to be nitpicky-but if the word that I search for is very near the beginning of the sentence (like the 2nd word in the sentence) then the search result simply shows "..." Is there any way to fix this? Also, is there any way to increase the amount of words that it shows to make it greater then three words (like 6 words instead)? Again, thank you very much-I really appreciate it! "Jay Freedman" wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#12
|
|||
|
|||
No, I don't.* But that's the beauty of Word -- if you don't like my
choice, change it! -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org *I'm not Terry Pratchett. If I were, I might find more entertaining uses for footnotes. :-) On Fri, 8 Apr 2005 21:50:19 -0500, "Suzanne S. Barnhill" wrote: You must not use footnotes very often. g -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Jay Freedman" wrote in message .. . OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#13
|
|||
|
|||
Awesome-thanks again!
"Jay Freedman" wrote: OK, I understand now. The "..." doesn't have anything to do with how close the word is to the beginning of the sentence. The code was putting it at the start and end of every entry. I've taken it out now. Have fun! -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 21:01:12 -0700, "nycguy96" wrote: Thanks-it looks great Jay! For some reason, it is still pulling "..." or similar when the word is close to the beginning of the sentence-is there any way to tell the code not to look at blanks and only pick out words? If this is not possible then no big deal-it looks awesome the way it is! thanks again! "Jay Freedman" wrote: Try it again -- same URL. The code now does try to select 6 words before and after the search term. Understand, though, that when Word counts "words" it includes punctuation and paragraph marks, so what you see may be less. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 18:33:02 -0700, "nycguy96" wrote: THANK YOU Jay! That is amazing-It totally works great. I hate to be nitpicky-but if the word that I search for is very near the beginning of the sentence (like the 2nd word in the sentence) then the search result simply shows "..." Is there any way to fix this? Also, is there any way to increase the amount of words that it shows to make it greater then three words (like 6 words instead)? Again, thank you very much-I really appreciate it! "Jay Freedman" wrote: OK, I got it posted. Download http://jay-freedman.info/finder.zip and unzip it into your Word startup folder (to find the right folder, look in Word's Tools Options File Locations dialog for the one named as Startup). Then restart Word, open a document, and press Ctrl+Alt+F (the template swipes that shortcut from the InsertFootnoteNow command, which I figured was no big loss) to start the userform. The controls across the top of the userform do the same as the ones in Adobe Reader's search pane. You can use the same codes in the Find What box (such as ^p for paragraph marks and ^t for tabs) that you use in Word's regular Find dialog. The Enter key is the same as clicking the Search button, and the Esc key is the same as clicking the Quit button. The results of the search show up to three words on either side of the requested word or phrase for each occurrence. Single-click an entry to see its page number below the list. Double-click an entry to go to that occurrence in the document (it may be behind the userform). Let me know if you think of any improvements, and I'll see if I can make them. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org On Fri, 8 Apr 2005 12:51:06 -0700, "nycguy96" wrote: Wow Jay-Thanks very much for the help! I look forward to your results and really appreciate it! "Jay Freedman" wrote: nycguy96 wrote: Hi- I want to use Control-F (Find function) and see all of the results that the program finds in context of their sentences. In other words, like Adobe Acrobat-when you run a Find on a PDF file, it brings up the context of the keyword under the results (i.e. it shows you the part of the sentence that the key word is within for each result). Is there a way to do this in MS Word 2003 or is there a macro that I could use to program this into Word? All help is very much appreciated! Thanks!!! There wasn't before, but your question inspired me to write a userform to mimic the Adobe function. Watch this thread later this evening -- I'll post the URL for a template you can download. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word Compare and Merge Document Function | Microsoft Word Help | |||
Your "Help" function has become totally useless | Microsoft Word Help | |||
Problem with function "Find and Replace" in Word. | Microsoft Word Help | |||
Find and Replace anomaly | Microsoft Word Help | |||
A Question About the Track Changes function in Word | Microsoft Word Help |