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 ...
Create a self-updating Excel checklist with checkboxes, IFS due-date priority, and a progress data bar for faster tracking.
How-To Geek on MSN
VBA is dying, and Microsoft is building Excel's future without it
Cloud collaboration, macro security, and new tools like Office Scripts, Power Query, and Python are pushing VBA to the margins.
How-To Geek on MSN
How to use R1C1 referencing style in Microsoft Excel
R1C1 coordinates provide a predictable map for auditing formulas and writing universal VBA macros.
Microsoft Excel allows you to control the program display in various ways, including complete personalisation of the top ribbon. If you're finding the large top ribbon to be troublesome, we'll show ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results