In a Worksheets Code Module, Range refers to the Worksheet Members Range Objects in that Sheet. The StringReference must therefore refer to a Cell within the Worksheet, in full form, or shortened, ( like just “A6” ), in which case VBA possibly adds the missing bit at compile. I've got 2 very similar functions, that were working before I switched my code to the Option Explicit for debugging puposes (success !). Since then, the Max function does not work anymore and I can't
Excel Advanced filters technique are useful when you deal with a large dataset. In this blog, we will try to cover one of Excel Advanced filter techniques to understand how to split data into a separate sheet through VBA code (it’s a part of our Excel VBA tutorial program). This is an advanced ... The MAX function in current versions of Excel accepts up to 255 arguments. If arguments contain no numbers, MAX returns 0. Arguments can be provided as numbers, names, arrays, or references that contain numbers. The MAX function ignores TRUE and FALSE values, and numbers entered as text, unless they are typed directly into the list of arguments.