|
This method is not recommended for ranges containing hidden columns or columns with zero width.
|
This method looks to the right from the anchor column to find the first visible empty cell, and re-sizes to include all the columns from the anchor column to the column before the empty cell. This results in a range of all the contiguous (adjacent) non-empty cells in the row.
Use this method if you want your dynamic range to be delimited by a blank/empty cell. This is useful when you have multiple tables stacked adjacent to one another on the same worksheet.
Do not use this method on ranges containing hidden columns or columns with zero width. See COUNTCONTIGCOLS2 for more details.
|