Group:  Microsoft Excel ยป microsoft.public.excel.setup
Thread: find and replace

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

find and replace
Rwostbrock 28.09.2006 13:13:01
When you choose "find" in excel 2003, you can change the option to search by
row and look in value? Can you modify excel to have the default option to be
to search by row and value?
Re: find and replace
Dave Peterson <petersod[ at ]verizonXSPAM.net> 28.09.2006 13:30:15
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()

Worksheets("sheet1").Cells.Find What:="", After:=ActiveCell, _
LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByRows, _
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.

Rwostbrock wrote:
[Quoted Text]
>
> When you choose "find" in excel 2003, you can change the option to search by
> row and look in value? Can you modify excel to have the default option to be
> to search by row and value?

--

Dave Peterson

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net