Yes. Couple of tips: use datatypes on your parameter declarations and your Function declaration, and "Range" is a (very commonly used) object in Excel so picking a different name for your function ...
Learn the basics of VBA through the use of dozens of educational screencasts and a series of quizzes and in-application programming assignments Complete 3 "real world" projects ...
If you’ve ever found yourself endlessly repeating the same formulas or tasks in Excel, you’re not alone. We’ve all been there—copying, pasting, and tweaking formulas across workbooks, only to realize ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results