Is it possible to create a function which accepts it's parent object as a variable? I suppose the simplest way to illustrate what I'm talking about is to provide an example:
Module 1 Code:
Function IsProduct() as Boolean
IsProduct = (vartype(Parent.Value) <> vbEmpty)
End Function
' "Parent" in this case would be a Range '
Module 2 Code:
Dim myRng as Range
If myRng.IsProduct Then Debug.Print "'Tis a product, sir."