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 ...
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.
How-To Geek on MSN
How to use the REDUCE function in Microsoft Excel
Macros are powerful, but they don't work on the web or mobile. I’ve switched to the native REDUCE function for my complex ...
I have recently been messing with a small piece of code in VBA-Access that can send / recieve small text-strings over a network. I finally got it to work, but forgot to think ahead :facepalm: . Right ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results