Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Using a custom function as a spreadsheet function

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Using a custom function as a spreadsheet function

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


"Nash" a écrit dans le message de news:
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Using a custom function as a spreadsheet function

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

On Sep 5, 1:14 pm, "papou" wrote:
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert function - custom function name preceded by module name [email protected] Excel Programming 1 April 2nd 06 03:46 PM
Custom Function: Detecting the cell the function is used in g-boy Excel Programming 2 June 11th 05 06:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
custom function - with built-in function VilMarci Excel Programming 14 January 25th 05 04:15 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


All times are GMT +1. The time now is 01:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"