Solved

Find and replace function in Excel 2007

Posted on 2012-03-09
6
229 Views
Last Modified: 2012-08-13
Can someone tell me how to change the default of look in from formulas to values.  It changed on me recently so it always looks in formulas and it is annoying.  See picture

BA
Picture1.JPG
0
Comment
Question by:bachopper
  • 2
  • 2
  • 2
6 Comments
 
LVL 50

Expert Comment

by:teylyn
ID: 37703278
Hello,

if you change the setting, Excel will apply the current setting during the active session. When you close and re-open Excel, it will default back to "Formulas".

I don't think there's much you can do about that.

cheers, teylyn
0
 

Author Comment

by:bachopper
ID: 37703419
It was never like that before Teylyn when did that change??????
0
 
LVL 50

Expert Comment

by:teylyn
ID: 37703633
I'm not aware that anything has changed. This is how it works in 2003 and 2010. I'm not in front of 2007 right now, so I don't know if it is different, but I doubt it will be.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 41

Expert Comment

by:dlmille
ID: 37703863
You can change it with an excel template.  Try putting this macro in your personal.xlsb  It will run the find command with a macro then your next (first) find will be on the setting that you want).

I'll also attach a file that goes to the setting you like (re: values) and it will kick off on workbook_open. If you don't want to put it in your personal.xlsb, you can put it in your xlstart folder, but I recommend the template approach and its already "hidden".

Here's the find code that does the find but also leaves that setting "behind" and will work in all Excel 2003+ versions:

Private Sub Workbook_Open()
Dim fRange As Range

    Set fRange = Cells.Find(what:="", LookIn:=xlValues, lookat:=xlPart, searchorder:=xlByRows, searchdirection:=xlNext, MatchCase:=False)

End Sub

Open in new window


How to create a personal.xlsb?  the EASY way is to record a macro and select the personal workbook as the workbook to record in.  just select a cell after you start to record, then stop the recorder. When you close Excel you'll be prompted to save your personal.xlsb and viola, the file is created.  Open excel again, go to your VBA Editor (ALT-F11), find the personal.xlsb file on the left, go to the ThisWorkbook codepage (double-click ThisWorkbook) and copy/paste this code (above) in.  hit the save button, next time you open Excel, this macro will run.

See attached file for your testing.  After you have gotten into excel and done the find command seeing it has the settings you DON'T like, load this file.  Then do Edit Find again and your GOOD settings should be there.  Having satisfied yourself, then put it in your Personal.XLSB.

Cheers,

Dave
personalFindSettings-r1.xls
0
 
LVL 41

Accepted Solution

by:
dlmille earned 500 total points
ID: 37703880
FOR EXCEL 2003 its called a PERSONAL.XLS

What's neat about having a personal.xls(b) is you can have a few lines of code to set settings that Excel is not readily handling.  Also, other useful macros and functions that help you with your daily grind.

ron deBruin has some good stuff on the Personal.XLS(B) setup
http://www.rondebruin.nl/personal.htm

What's neat about having a file in your XLSTART which can do similar things but its a visible sheet (unless you somehow hide it with a macro) but it can also be a starting template which has you default themes, fonts, etc., so you always have a consistent starting point (as long as you save your newly created file in your working directory not back to the XLSTART ;)

Cheers,

Dave
0
 

Author Closing Comment

by:bachopper
ID: 37813817
This works great thank you
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now