Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2017, 06:21 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Find (Ctrl+f) does not search inside equations Windows XP Find (Ctrl+f) does not search inside equations Office 2007
Competent Performer
Find (Ctrl+f) does not search inside equations
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default Find (Ctrl+f) does not search inside equations

Is there a way to search for a text string inside of equations?



A search turned up nothing that works.
Reply With Quote
  #2  
Old 03-30-2017, 09:47 PM
macropod's Avatar
macropod macropod is offline Find (Ctrl+f) does not search inside equations Windows 7 64bit Find (Ctrl+f) does not search inside equations Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I'm not aware of any F/R support for finding a text string inside an equation. However, since all equations include a '=' sign, you can search for that. That will at least take you from one equation to the next.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-30-2017, 10:07 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Find (Ctrl+f) does not search inside equations Windows XP Find (Ctrl+f) does not search inside equations Office 2007
Competent Performer
Find (Ctrl+f) does not search inside equations
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
I'm not aware of any F/R support for finding a text string inside an equation. However, since all equations include a '=' sign, you can search for that. That will at least take you from one equation to the next.
Wow! That works. Thank you.

I did a little testing and learned that it can also find a lot of special characters, such as pi, infinity, the division symbol, and others. So if the equation I am looking for has any of those, I can get there even more quickly.

This is an 80-page document with dozens of equations, but being able to step through the equations is so much better than paging through 80 pages. Thank you very much.

I even tried saving the document as .txt, .rtf, .pdf, and several others. None of them were abbe to search inside equations.

If the Find function can find the "=" sign and other special characters, why the h*ll can't it find a variable name? This is either complete incompetence or arrogance or both.

What's the matter with this GD company? Do they have any competent programmers or management anymore? Office has so many bugs and design flaws that have been there for 10-15 years. They just don't seem to give a damn.
Reply With Quote
  #4  
Old 03-30-2017, 11:01 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Find (Ctrl+f) does not search inside equations Windows XP Find (Ctrl+f) does not search inside equations Office 2007
Competent Performer
Find (Ctrl+f) does not search inside equations
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

Paul,

I have a SEQ field set up to number the equations.

You don't happen to know of a way to generate a list of all of the equations in a document along with the sequence numbers, do you? Something like a list of figures?

Thanks,

-J
Reply With Quote
  #5  
Old 03-30-2017, 11:16 PM
macropod's Avatar
macropod macropod is offline Find (Ctrl+f) does not search inside equations Windows 7 64bit Find (Ctrl+f) does not search inside equations Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you'd used Word's Insert Caption tool, for which one of the captioning options is 'Equation', generating a list like the list of figures would be a trivial undertaking - you could actually produce a 'table' of equations using References>Insert Table of Figures, setting the Caption label to 'Equation'. Without that, you'd need a macro to go through all the fields looking for the SEQ field code pertaining to your numbering.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 03-30-2017, 11:31 PM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Find (Ctrl+f) does not search inside equations Windows XP Find (Ctrl+f) does not search inside equations Office 2007
Competent Performer
Find (Ctrl+f) does not search inside equations
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
If you'd used Word's Insert Caption tool, for which one of the captioning options is 'Equation', generating a list like the list of figures would be a trivial undertaking - you could actually produce a 'table' of equations using References>Insert Table of Figures, setting the Caption label to 'Equation'. Without that, you'd need a macro to go through all the fields looking for the SEQ field code pertaining to your numbering.
I actually fiddled around with that a little. There were 2 problems I couldn't resolve:
  1. I didn't see a way to get the list to show the actual equation. It just showed the caption text.
  2. It seemed to require that I put the caption in a separate line before or after the equation line. I want to put it on the same line on the right.
I would like to have the equations in the document look like this:

Code:
some text....
    a = b + 1                    (1)
some text.... based on equation (1)...
    c = pi x r^2                 (2)
some text.... combining equations (1) & (2)...
    E = mc^2                     (3)
some text....
And then get a list that looks like this:


Code:
              Table of Equations
(1)  a = b + 1.....................7
(2)  c = pi x r^2.................23
(3)  E = mc^2.....................37
I couldn't get it to do that. Is there a way?
Reply With Quote
  #7  
Old 03-31-2017, 02:06 AM
macropod's Avatar
macropod macropod is offline Find (Ctrl+f) does not search inside equations Windows 7 64bit Find (Ctrl+f) does not search inside equations Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Jennifer Murphy View Post
There were 2 problems I couldn't resolve:
  1. I didn't see a way to get the list to show the actual equation. It just showed the caption text.
  2. It seemed to require that I put the caption in a separate line before or after the equation line. I want to put it on the same line on the right.
Re 1: That's how the list of figures works, which is what I thought from post #4 you were trying to emulate. Anything fancier would require a macro.
Re 2: You could use a Style separator (i.e. select the caption's paragraph break and press Ctrl-Alt-Enter), or simply format the caption's paragraph break as hidden text.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 03-31-2017, 03:11 AM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Find (Ctrl+f) does not search inside equations Windows XP Find (Ctrl+f) does not search inside equations Office 2007
Competent Performer
Find (Ctrl+f) does not search inside equations
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Re 1: That's how the list of figures works, which is what I thought from post #4 you were trying to emulate. Anything fancier would require a macro.
Re 2: You could use a Style separator (i.e. select the caption's paragraph break and press Ctrl-Alt-Enter), or simply format the caption's paragraph break as hidden text.
I appreciate your help. I guess I'll go with the equation captions under the equations. It takes an extra line, which means less room on the page, but I can more or less copy the equation into the comments so that they show up in the list.

I'm afraid to try any of your work-arounds, especially if they involve macros or complex styles. Even if I get them working, I can never remember how they work and end up messing them up later and then cannot figure out how to recover.

Clearly, the wizards at M$FT know what I need better than I do, so I'll just fall in line. (sigh)

Again, thanks for your help.

PS: Now I have one more table that has to prompt me to get updated. Is there any way to tell Word to automatically update all tables and lists without prompting me every time?
Reply With Quote
  #9  
Old 03-31-2017, 04:07 AM
macropod's Avatar
macropod macropod is offline Find (Ctrl+f) does not search inside equations Windows 7 64bit Find (Ctrl+f) does not search inside equations Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Jennifer Murphy View Post
I'm afraid to try any of your work-arounds, especially if they involve macros or complex styles. Even if I get them working, I can never remember how they work and end up messing them up later and then cannot figure out how to recover.
There's no Style changes involved; just learning to either format the paragraph break as hidden (dead simple) or remembering how to use the Style Separator (something else to clutter the grey-matter). Obviously, you'd apply the hidden attribute or Style Separator to whichever of the caption & equation paragraphs occurs first.
Quote:
Originally Posted by Jennifer Murphy View Post
PS: Now I have one more table that has to prompt me to get updated. Is there any way to tell Word to automatically update all tables and lists without prompting me every time?
A Print Preview, printing the document or Ctrl-A, F9 should update all of them. Check, too, that Word's 'update fields before printing' option is checked. Another option would be to have a macro in the document or its template to auto-update the fields every time you open the document. Such a macro might be coded along the lines of:
Code:
Private Sub Document_Open()
Application.ScreenUpdating = False
With ActiveDocument
  .Fields.Update
  .PrintPreview
  .ClosePrintPreview
  .Saved = True
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #10  
Old 03-31-2017, 09:13 AM
Charles Kenyon Charles Kenyon is offline Find (Ctrl+f) does not search inside equations Windows 10 Find (Ctrl+f) does not search inside equations Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Installing Macros
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find (Ctrl+f) does not search inside equations Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
Find and replace inside strings containing various names audioman Word VBA 4 03-25-2014 11:19 AM
Find (Ctrl+f) does not search inside equations Find, aka search aka ctrl+pgdn across multiple lines snarfii Word 1 04-22-2012 09:56 PM
Where we can find a Word document (docx file) that contains professional work inside? Jamal NUMAN Word 0 06-26-2011 09:57 AM
Find (Ctrl+f) does not search inside equations Ctrl+Alt+Enter is not working inside the table!!!!!! Jamal NUMAN Word 1 04-20-2011 02:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft