Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Set Find to look in Values instead of Formulas by default?

If macros are enabled, I think you can make it automatically set Find (on
the menu bar) to look in Values using this Worksheet_Open event code...

Private Sub Workbook_Open()
Selection.Find "", LookIn:=xlValues
End Sub

If you are unfamiliar with how to do this, right click the XL icon
immediately to the left of Excel's File menu item, select View Code and then
copy paste the above into the code window that opened up. Now, save the
workbook, close it and then reopen it... the Find "Look in" option should be
defaulted to "Values" now.

--
Rick (MVP - Excel)


"Maury Markowitz" wrote in message
...
Is there a setting somewhere that I can use to default Find to search-
in-values instead of search-in-formulas? I would like to be able to
turn this on via code, so that every time the user uses Find it has
defaulted to this setting.

If you're wondering, turning this on also makes Excel ignore data in
hidden columns. I have lots of data in hidden columns that I don't
want the user to Find unless they really go looking for it.

Maury


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel is pasting values, not formulas by default Kirstin Excel Discussion (Misc queries) 3 July 4th 08 02:23 AM
Find "Look in" box does not show 'values' on 'formulas' Oldnovice Excel Worksheet Functions 2 April 28th 08 08:02 PM
Changing Default Search in to Values Not Formulas in Excel Gregg Dotoli Excel Discussion (Misc queries) 1 January 1st 07 05:08 PM
changing formulas to values so that they will be recognized by Find and Replace akeane Excel Discussion (Misc queries) 3 August 8th 05 05:43 PM
find replace cursor default to find box luffa Excel Discussion (Misc queries) 0 February 3rd 05 12:11 AM


All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"