Google Answers Logo
View Question
 
Q: Word Macro Command ( No Answer,   4 Comments )
Question  
Subject: Word Macro Command
Category: Computers
Asked by: buddyt-ga
List Price: $3.00
Posted: 21 Oct 2005 15:17 PDT
Expires: 20 Nov 2005 14:17 PST
Question ID: 583262
I would like to create a macro in Word that will select all the text
between certain parts of the document.  For example, I would like to
be able to search for quotation marks and then select all the text
between that first set of quotation marks and a next set of quotation
marks.  One idea would be to ctrl f for quotation marks, bookmark as
temp 1, search again, bookmark as temp2 and then select all text in
between the two bookmarks.  The problem is I don't know how to select
all text between bookmarks. Any other solution which will allow me to
repeatedly select text between two searchable characters will be
considered an answer.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Word Macro Command
From: barneca-ga on 21 Oct 2005 18:42 PDT
 
No macro is necessary.  To select the text between any two characters
(say Q and X), bring up the Find dialog box, make sure the ?Use
Wildcards? box is checked, and type Q*X in the Find What box.  When
you Find Next, the Q, X, and everything in between will be selected.

It?s slightly trickier with quotation marks.  "Straight quotes" are
easy, but if you have ?opening and closing? quotes, they can?t be
typed directly into the Find what box.  However, if you cut and paste
?*? from your Word document into the Find What box, it works fine.

This works in Word 2000.  I assume it works in other versions.  If
not, well, with free comments you sometimes get what you pay for.

-cab
Subject: Re: Word Macro Command
From: ferret13-ga on 23 Oct 2005 20:58 PDT
 
That's great, and I was not aware of that feature.  But note that it
DOES select the search characters as well as the text in-between.  Not
sure if that is a problem for the requester or not.  I could write VBA
code for exactly what you want, but it would take me about 1 hour. 
Somebody who can do it much faster could help you for $3 perhaps, but
good luck with that as programmers charge more for their time.  But
someone might want to do it for fun.  You need to indicate if the
search characters will be fixed (Always quotation marks) or need to
vary, in which case there needs to be an Input Box.
Subject: Re: Word Macro Command
From: buddyt-ga on 24 Oct 2005 08:40 PDT
 
Super, this worked great.  I don't really understand the difference in
"answers" and "comments" on Google Answers, but I regard this as an
answer, so I will be happy to pay.  Does it have to be an "answer"
before I can pay, and what makes it an "answer"?
Subject: Re: Word Macro Command
From: barneca-ga on 24 Oct 2005 13:50 PDT
 
Answers vs. Comments:
Everyone can Comment; only Google Researchers can Answer.  You have to
prove to the Google Powers That Be that you're smart before you can be
a Researcher; you just have to think you're smart to Comment. 
Comments are free, Answers cost money.

I'm not a Researcher, just a mere mortal, but I ran into that exact
problem a couple of weeks ago, so I thought I'd de-lurk and help out.

-cab

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy