Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Change default search to Value, not formula?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Auto - 19 Jun 2007 03:10 GMT
Every time I start a word search, the default searches for fomulas instead
of value.   So everytime I have to open up the option button and change it
to value instead of formula.
How do I change that default setting?

lbbss
Dave Peterson - 19 Jun 2007 03:41 GMT
Saved from a previous post:

Excel tries to help by remembering the last settings you used--except for the
first search in that session.

You can use that to your advantage.

You could make a dummy workbook and put it in your xlStart folder.  Have a
macro in that workbook that does a find (and sets all the stuff the way you
like).  Then closes and gets out of the way.

Option Explicit
Sub auto_open()
   
   Worksheets("sheet1").Cells.Find What:="", After:=ActiveCell, _
           LookIn:=xlValues, _
           LookAt:=xlPart, SearchOrder:=xlByRows, _
           SearchDirection:=xlNext, MatchCase:=False          
   
   ThisWorkbook.Close savechanges:=False

End Sub

The workbook opens, does a find (to fix your settings) and then closes to get
out of the way.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

But if you do an Edit|Find and change anything, then those changed settings will
be remembered.

> Every time I start a word search, the default searches for fomulas instead
> of value.   So everytime I have to open up the option button and change it
> to value instead of formula.
> How do I change that default setting?
>
> lbbss

Signature

Dave Peterson

Auto - 21 Jun 2007 03:47 GMT
So it sounds like my excel is not working as it should.   I only once did a
find formula, since then I have always done a search value.   But it does
not seam to remember to save my last search.   Also, I wish it would keep
the search entire work book setting, but it always defaults to search in
sheet.

> Saved from a previous post:
>
[quoted text clipped - 34 lines]
> >
> > lbbss
Dave Peterson - 21 Jun 2007 11:25 GMT
Each time you open excel, it goes back to its default--to look in formulas.

If you do a find and change to values, it'll stay values until you change it--or
close excel and reopen it.

I don't know a way to change the "within" option.  There's nothing in code you
can do--maybe play around with Sendkeys and tabs, but I wouldn't do that (and
haven't).

> So it sounds like my excel is not working as it should.   I only once did a
> find formula, since then I have always done a search value.   But it does
[quoted text clipped - 50 lines]
> >
> > Dave Peterson

Signature

Dave Peterson

Auto - 22 Jun 2007 14:59 GMT
So it sounds like my excel is not working as it should.   I only once did a
find formula, since then I have always done a search value.   But it does
not seam to remember to save my last search.   Also, I wish it would keep
the search entire work book setting, but it always defaults to search in
sheet.

> Saved from a previous post:
>
[quoted text clipped - 34 lines]
> >
> > lbbss
Dave Peterson - 22 Jun 2007 15:34 GMT
I don't have any more guesses.

> So it sounds like my excel is not working as it should.   I only once did a
> find formula, since then I have always done a search value.   But it does
[quoted text clipped - 50 lines]
> >
> > Dave Peterson

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.