LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Customized function

Hello,

I'm trying to write a simple function in VBA and to use it in the worksheet.
I do the following steps:
1. Alt+F11
2. Defining the function:
Function Koah(duration, percentage As Double) As Double
Koah = duration * percentage / 12
End Function

3. Closing VBA
But the name of the function doesn't appear in the list of "All" functions,
and excel don't recognize my customized function.

I tried to write a macro with this function - and it works, the problem that
I need to use the function without the macro.

Is it something Excel definitions?

Please help,

 
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
SOS! how do I write a customized function to do multiple-value lookupin Excel 2007? LunaMoon Charts and Charting in Excel 0 December 1st 09 02:37 AM
Formula Function INTO Customized Toolbar 23hitman Excel Discussion (Misc queries) 1 August 22nd 09 11:41 PM
Calling customized DLL function fails maribet Excel Programming 0 July 13th 06 08:19 AM
Customized function (in cell) does not refresh value :o( MarcL Excel Discussion (Misc queries) 3 February 28th 06 08:57 PM
customized function ravi Excel Programming 2 July 21st 05 07:54 PM


All times are GMT +1. The time now is 03:03 AM.

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"