The function of find to find the following parameters in VBA

In the search recorded with VBA, I want to know what the parameters after the first comma in the brackets really work?

Cells.Find(What:="41.2",   After:=ActiveCell,   LookIn:=xlValues,   LookAt:=   _   
                  xlPart,   SearchOrder:=xlByColumns,   SearchDirection:=xlNext,   MatchCase:=   _   
                  False).Activate  

**************************************************** ********************************  The
    
  Find method   
    
  finds specific information within a range and returns a Range object that represents the The first cell found that contains the information you are looking for. Returns Nothing if no matching cells are found. This method does not affect the selection or the active cell.   
    
  For more information on using the Find worksheet function in Visual Basic, see Using the Microsoft Excel Worksheet Function in Visual Basic.   
    
  Syntax   
    
  expression.Find(What, After, LookIn, LookAt, SearchOrder, SearchDirection, MatchCase, MatchByte)   
    
  expression Required. The expression returns a Range object.   
    
  What Variant type, required. The data to find. Can be a string or any Microsoft Excel data type.   
    
  After Variant type, optional. Indicates the cell after which the lookup process will begin. This cell corresponds to the active cell position when looking up from the user interface. Note that After must be a single cell in the lookup range. Remember that the lookup starts after the cell; its contents are not detected until the method wraps around the cell. If this parameter is not specified, the search will start after the upper left cell of the range.   
    
  LookIn Variant, optional. Can be one of the following XlFindLookIn constants: xlFormulas, xlValues, or xlComments.   
    
  LookAt Variant, optional. Can be one of the following XlLookAt constants: xlPart or xlWhole.   
    
  SearchOrder Variant, optional. Can be one of the following XlSearchOrder constants: xlByColumns or xlByRows.   
    
  SearchDirection Variant, optional. Can be one of the following XlSearchDirection constants: xlNext or xlPrevious. The default constant is xlNext.   
    
  MatchCase Variant, optional. If specified as True, a case-sensitive lookup is performed. The default value is False.   
    
  MatchByte Variant, optional. Only used when double-byte language support is selected or installed. If specified as True, causes double-byte characters to match only double-byte characters. If False is specified, double-byte characters match their single-byte equivalents.   
    
  illustrate   
    
  The settings of the parameters LookIn, LookAt, SearchOrder and MatchByte are saved each time this method is called. If these parameters are not specified on the next call, the saved settings will be used. Setting these parameters will change the settings in the Find dialog, and modifying the corresponding settings in the Find dialog will also change the saved values ​​used when these parameters are ignored. To avoid trouble, specify the values ​​of these parameters explicitly each time this method is called. 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325267265&siteId=291194637