"=MID(J2;FIND("@";J2)+1;LEN(J2)-FIND("@";J2)-(LEN(J2)-FIND(".";J2;FIND("@";J2)))-1)"
I have made this formula to extract the domain from an email, i mean it takes anything after the "@" and before the final dot.
What i want to do is to add this to an Add-in like a custom function i.e. "=DOMAIN()"
I can make basic and easy functions like this, but i don't know how to do it :
can someone please give me ideas, or tell me how to do it
Thanks in advance.
I have made this formula to extract the domain from an email, i mean it takes anything after the "@" and before the final dot.
What i want to do is to add this to an Add-in like a custom function i.e. "=DOMAIN()"
I can make basic and easy functions like this, but i don't know how to do it :
Code:
Function CubeRoot(number)
CubeRoot = number ^ (1 / 3)
End Function
can someone please give me ideas, or tell me how to do it
Thanks in advance.