Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Find and replace function in Excel 2007

Posted on 2012-03-09
6
Medium Priority
?
302 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
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
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 42

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 42

Accepted Solution

by:
dlmille earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

972 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