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 ...
REDUCE allows you to iterate through your data, building your result step-by-step, in the same way a loop operates in a ...
I have a simple sub procedure in Excel (XP) that returns the total number of characters (Len()) in the selected cell block. Took me a long time to finally figure it out. <BR><BR>Now I want to convert ...
More small business owners than you might think are creating and writing their own software programs, and many times their first programming baby steps involve the use of Visual Basic for Applications ...
How to use VBA’s InputBox function to select a range on the fly in Excel Your email has been sent Often, you’ll want Excel users to specify a range that the app then uses in an automated way.