Skip to content
- Excel VBA Freeze Panes at a Specific CellYes. Activate the worksheet, select the cell that marks the top-left corner of the scrolling area, then set ActiveWindow.FreezePanes = True. For…VBA & macros
- Excel VBA Date Number Format: How to Set ItIn Excel VBA, format a cell or range as a date by setting its NumberFormat property, for example: Range("B2:B100").NumberFormat = "dd-mmm-yyyy". This…VBA & macros
- Excel VBA: Find a Value in a Range and Select Its CellIn Excel VBA, use Range.Find to locate a value, check whether it returned a cell, and then activate the worksheet and select…VBA & macros
- Excel VBA Find Value in Range: Examples and TipsTo find a value in an Excel range with VBA, use the range’s Find method, then check whether it returned a cell…VBA & macros
- Excel VBA: Find a Value in a Column and Return Its RowTo find a value in a column with Excel VBA, use the Range.Find method on the cells you want to search. It…VBA & macros
- Excel VBA Find a Value in an Array: Loop, Match, and TipsTo find a value in a VBA array, loop from LBound to UBound and compare each element with the value you want.…VBA & macros
- Excel VBA: Find Unique Values in a ColumnTo find unique values in an Excel column with VBA, loop through the source cells, keep the first occurrence of each value,…VBA & macros
- Excel VBA: Find Unique Entries in a ColumnTo find distinct entries in an Excel column with VBA, loop through the data, add each value only once to a dictionary,…VBA & macros
- Excel VBA Find Text in a String: InStr ExplainedIn Excel VBA, use the InStr function to find one piece of text inside another: it returns the position where the match…VBA & macros
- Excel VBA Find Text in a Range: Code and Examples ExplainedTo find text in an Excel range with VBA, use the range’s Find method and check whether it returns a cell. For…VBA & macros
- Excel VBA Find a Substring in a StringIn Excel VBA, use InStr to find a substring inside a string: it returns the position of the first match, or 0…VBA & macros
- Excel VBA: Find a String Within a StringUse VBA’s InStr function to find one string inside another: it returns the character position of the first match, or 0 if…VBA & macros
- Excel VBA: How to Check AutoFilter StatusIn Excel VBA, check Worksheet.FilterMode to find out whether a worksheet currently has a filter applied, and check Worksheet.AutoFilterMode to find out…VBA & macros
- Excel VBA: Find Text and Delete the Matching Row SafelyTo find specific text in Excel and delete every row containing an exact match, run a VBA macro that checks the relevant…VBA & macros
- Excel VBA Find Sheet by Name: Safe Code and ExamplesTo find a worksheet by its tab name in Excel VBA, use ThisWorkbook.Worksheets("Summary") and handle the error that occurs if the name…VBA & macros
- Excel VBA: Find a Row with Specific Text in a ColumnTo find a row containing specific text in Excel VBA, use the range’s Find method, then read the matching cell’s Row property.…VBA & macros
- Excel VBA: Find the Row Number of a Matching ValueIn Excel VBA, use the Range.Find method to locate a value, then read the matching cell’s .Row property. For an exact match…VBA & macros
- Excel VBA: Find the First Row Above a Value ThresholdTo find the first row where a cell’s value is greater than a threshold, loop through the relevant range in VBA and…VBA & macros
- Excel VBA: Find a Character’s Position in a StringIn Excel VBA, use InStr to find a character’s position in a string: it returns the character’s one-based position, or 0 if…VBA & macros
- Excel VBA Find Position in a String with InStr ExamplesIn Excel VBA, use InStr to find the position of one string inside another: InStr(1, textValue, searchText, vbTextCompare) returns a 1-based character…VBA & macros
- Excel VBA Find Partial Text: Methods, Code, and TipsTo find cells containing part of a text string in Excel VBA, use the range’s Find method with LookAt:=xlPart. For example, searching…VBA & macros
- Excel VBA Find Numbers Only: Code, Search Tips, and FixesYes. To find cells that contain real numeric values—not numbers stored as text—loop through the range and check each cell’s value. The…VBA & macros
- Excel VBA: How to Find the Next Empty Cell in a ColumnTo find the next empty cell below the last entry in an Excel column, use VBA’s End(xlUp) navigation and select the row…VBA & macros
- Excel VBA Find Next: Search Matches and Continue SafelyIn Excel VBA, use Range.Find to locate the first match and Range.FindNext to continue to the next one. To process every match…VBA & macros
- Excel VBA: Find the Minimum Value in a Worksheet RangeIn Excel VBA, use Application.WorksheetFunction.Min to get the smallest number in a range. For example, if the values are in A1:A10 on…VBA & macros
- Excel VBA: Find the Minimum Value in a Range or ArrayTo find a range’s minimum in Excel VBA, use Application.WorksheetFunction.Min, for example, Application.WorksheetFunction.Min(Range("B2:B20")). For a macro you can reuse, assign the range…VBA & macros
- Excel VBA Find Method: Syntax, Examples, and TipsIn Excel VBA, use the Range.Find method to search a specified range and return the first matching cell; check whether the result…VBA & macros
- Excel VBA: Find a Match and Return Its Row NumberIn Excel VBA, use the column’s Range.Find method to locate a value, then read the found cell’s .Row property. For example, if…VBA & macros
- Excel VBA Find LookIn: What It Means and How to Use ItIn Excel VBA, LookIn is an argument of the Range.Find method that tells Excel what kind of content to search: use xlValues…VBA & macros
- Excel VBA: Find the Latest Date in a Column AutomaticallyTo find the latest date in an Excel column with VBA, scan the cells that contain dates, keep the greatest value, and…VBA & macros