Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I change the Excel "search" default to WORKBOOK & DATA?

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I change the Excel "search" default to WORKBOOK & DATA?

I don't think you can change the "within" option. But you can change the other
settings, but not permanently.

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()

'change the settings the way you like
Worksheets(1).Cells.Find What:="", After:=ActiveCell, _
LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByColumns, _
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.

danny bromberg wrote:

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I change the Excel "search" default to WORKBOOK & DATA?


"Dave Peterson" wrote:

I don't think you can change the "within" option. But you can change the other
settings, but not permanently.

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()

'change the settings the way you like
Worksheets(1).Cells.Find What:="", After:=ActiveCell, _
LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByColumns, _
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.

danny bromberg wrote:

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default How do I change the Excel "search" default to WORKBOOK & DATA?

Hi,

Here is one way:

Sub myFind2()
SendKeys "%E{Enter}F"
SendKeys "%HW{Enter}"
SendKeys "%LV{Enter}"
SendKeys "%N{Enter}"
End Sub

If you assign this to a toolbar button or give it a shortcut key it will do
what you want. Personally I don't like using SendKeys because this might
work in 2003 but not in 2007 or a later version.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"danny bromberg" wrote:

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I change the Excel "search" default to WORKBOOK & DATA?


"Shane Devenshire" wrote:

Hi,

Here is one way:

Sub myFind2()
SendKeys "%E{Enter}F"
SendKeys "%HW{Enter}"
SendKeys "%LV{Enter}"
SendKeys "%N{Enter}"
End Sub

If you assign this to a toolbar button or give it a shortcut key it will do
what you want. Personally I don't like using SendKeys because this might
work in 2003 but not in 2007 or a later version.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"danny bromberg" wrote:

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default How do I change the Excel "search" default to WORKBOOK & DATA?

Hi,

Here is one way:

Sub myFind2()
SendKeys "%E{Enter}F"
SendKeys "%HW{Enter}"
SendKeys "%LV{Enter}"
SendKeys "%N{Enter}"
End Sub

If you assign this to a toolbar button or give it a shortcut key it will do
what you want. Personally I don't like using SendKeys because this might
work in 2003 but not in 2007 or a later version.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"danny bromberg" wrote:

How do I change the Excel "search" default so that WITHIN WORKBOOK and LOOKIN
DATA appear when I click on the OPTIONS (instead of the default WITHIN SHEET
and LOOKIN FORMULAS)?

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
Pivot tables - how do I change default from "count of" to "sum of" Cathy H Excel Worksheet Functions 2 November 19th 08 01:31 AM
Can I change Excel 2003 default "save to" folder? Gene New Mexico Setting up and Configuration of Excel 1 May 9th 07 11:26 PM
can you change the default format for a "comment" in excel? 24bwo Excel Discussion (Misc queries) 2 March 21st 07 12:10 AM
How to change the default in Excel from "find next" to "find all" igs Excel Discussion (Misc queries) 0 November 27th 06 06:20 PM
How to set the default "summarized by" of a data field to "Sum"? Jeffrey Excel Discussion (Misc queries) 1 June 4th 06 01:29 PM


All times are GMT +1. The time now is 02:23 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"