Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I made a function, this function returns a value that i would like to put in a certain cell. In a cell you can put for example =now() then the field is filled with the date and time. If I do this with my function, just write in a cell "=begindate()", the cell returns #NAME?. How can I solve this? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The function should be in a standard module, not in a sheet module.
Alt-F11 to go to the VB Editor InsertModule enter your function Alt-F11 to return to the worksheet If you still have problems, post your function -- Kind regards, Niek Otten Microsoft MVP - Excel "Abrm" wrote in message ... | Hello, | I made a function, this function returns a value that i would like to put in | a certain cell. | | In a cell you can put for example =now() then the field is filled with the | date and time. | If I do this with my function, just write in a cell "=begindate()", the | cell returns #NAME?. | How can I solve this? | |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That works, thanks a lot.
And if you want to run a function from startup of a sheet, or refresh(f9) of the page. Is there an event you can use? "Niek Otten" wrote: The function should be in a standard module, not in a sheet module. Alt-F11 to go to the VB Editor InsertModule enter your function Alt-F11 to return to the worksheet If you still have problems, post your function -- Kind regards, Niek Otten Microsoft MVP - Excel "Abrm" wrote in message ... | Hello, | I made a function, this function returns a value that i would like to put in | a certain cell. | | In a cell you can put for example =now() then the field is filled with the | date and time. | If I do this with my function, just write in a cell "=begindate()", the | cell returns #NAME?. | How can I solve this? | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions | |||
Nested IF Function, Date Comparing, and NetworkDays Function | Excel Worksheet Functions |