Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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)? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "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 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "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)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot tables - how do I change default from "count of" to "sum of" | Excel Worksheet Functions | |||
Can I change Excel 2003 default "save to" folder? | Setting up and Configuration of Excel | |||
can you change the default format for a "comment" in excel? | Excel Discussion (Misc queries) | |||
How to change the default in Excel from "find next" to "find all" | Excel Discussion (Misc queries) | |||
How to set the default "summarized by" of a data field to "Sum"? | Excel Discussion (Misc queries) |