LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Find Method Help in VBA

Hey All,

I need to use the 'Find' method and the documentation doesn't answer a
number of questions:

-- With the 'LookAt' option, xlWhole or xlPart, whole or part of what?

-- Regarding 'What', when it says a Microsoft Excel data type, does that
mean integer, long, boolean, etc.?

-- For 'SearchFormat', what are the options for this and what do they mean?

-- When using 'MatchByte', how does one determine if double-byte support is
installed and does it matter if the flag is set (i.e. does it throw an
error) if double-byte is support is not installed?

expression.Find(What, After, LookIn, LookAt, SearchOrder, SearchDirection,
MatchCase, MatchByte, SearchFormat)

expression Required. An expression that returns a Range object.

What Required Variant. The data to search for. Can be a string or any
Microsoft Excel data type.

After Optional Variant. The cell after which you want the search to begin.
This corresponds to the position of the active cell when a search is done
from the user interface. Note that After must be a single cell in the range.
Remember that the search begins after this cell; the specified cell isn't
searched until the method wraps back around to this cell. If you don't
specify this argument, the search starts after the cell in the upper-left
corner of the range.

LookIn Optional Variant. The type of information.

LookAt Optional Variant. Can be one of the following XlLookAt constants:
xlWhole or xlPart.

SearchOrder Optional Variant. Can be one of the following XlSearchOrder
constants: xlByRows or xlByColumns.

SearchDirection Optional XlSearchDirection. The search direction.

XlSearchDirection can be one of these XlSearchDirection constants.
xlNext default
xlPrevious

MatchCase Optional Variant. True to make the search case sensitive. The
default value is False.

MatchByte Optional Variant. Used only if you've selected or installed
double-byte language support. True to have double-byte characters match only
double-byte characters. False to have double-byte characters match their
single-byte equivalents.

SearchFormat Optional Variant. The search format.



 
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
xls vba find method to find row that contains the current date RCranston Excel Programming 3 March 28th 07 03:59 PM
date find using find method x taol Excel Programming 2 December 22nd 05 09:51 AM
Using variables to make a date and using find method to find that. KyWilde Excel Programming 2 April 21st 05 09:43 PM
Find method nk Excel Programming 2 April 16th 05 01:50 PM
Help with the Find method Mike NG Excel Programming 3 August 4th 03 07:15 PM


All times are GMT +1. The time now is 02:00 PM.

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"