Using a custom function as a spreadsheet function

  • Thread starter Thread starter Nash
  • Start date Start date
N

Nash

I'd like to use a function that I wrote as a spreadsheet function,
i.e. type "=Deg2DegDec(A1,B1,C1)" in a cell in spreadsheet and get the
result.
I saw a post by Rick Rothstein in one of the previous threads that
says you should put your function in a module. Mine is in Module1 in
Personal.xls, and that doesn't do the trick.
What should I do (step by step, please)?

TIA,
Nash
 
Hello Nash
It's pretty straightforward:
Insert, Function, Custom and double-click on your UDF
Place arguments required and validate with OK.

Apart from that:
Has your function worked before?
Can you post the code?

HTH
Cordially
Pascal
 
Thanks!
Just what I needed. The function itself is quite simple, subtracting
two angles from each other. It works, of course, I just wanted to use
it as a spreadsheet function instead of doing it via some command
button or something like that.

Nash
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top