Re: using VBA to dictate criteria in Find and Replace dialog
- From: "John Spencer" <spencer@xxxxxxxxx>
- Date: Tue, 18 Dec 2007 14:41:05 -0500
The only way I know to do this is to use the notorious SendKeys function.
See the following article
ACC2000: How to Set Defaults for the Find and Replace Dialog Box
http://support.microsoft.com/default.aspx?scid=kb%3bEN-US%3bQ208923
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
"ArielZusya" <ArielZusya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:885113EA-0459-49A9-8908-E2EC1E1C69C0@xxxxxxxxxxxxxxxx
I've got a button on a data entry form that brings up the Find and Replace
dialog. Right now it comes up with the following criteria as default:
Find What: [blank]
Look In: [current field]
Match: Whole Field
Search: All
Match Case [unselected]
Search Fields As Formatted [selected]
I'd like to pass other criteria to the Find and Replace dialog. Is there
a
way to do that without creating my own search form? I'd like the "Look
In:"
to point to the entire database and the "Match:" to use "any Part of
Field"
but I'm not sure how. Your help would be greatly appreciated! Thanks!
.
- Prev by Date: Re: Need Meaning of Make-Table Query Code
- Next by Date: Re: Code doesn't work on some computers
- Previous by thread: Re: Need Meaning of Make-Table Query Code
- Next by thread: Export each page of report as a separate file
- Index(es):