Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
call a vb function from a cell
Hi
I have a function that i want ot use in a xcel formula? can this be done my function... Public Function myfun(str As String) As String myfun = "xxxx" End Function How do i call it from a cell i tried in excel spreadsheet cell =myfun("helloworld") but this does not work is it possible? thanks mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
call a vb function from a cell
instead of just typing in =myfun("helloworld")
you should click in Insert Function, then select your function fro the "All" list -- Message posted from http://www.ExcelForum.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
call a vb function from a cell
Hi I cant see the function,
I want to call a function I have written! not a standard excel function! The all list only lists excel functions, where should i define my vb function to appear in this ALL list? i can see it! HELP -----Original Message----- instead of just typing in =myfun("helloworld") you should click in Insert Function, then select your function from the "All" list. --- Message posted from http://www.ExcelForum.com/ . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
call a vb function from a cell
Put it in a general module rather than a sheet module or the thisworkbook
module. Make sure it isn't declared as private. -- Regards, Tom Ogilvy "mike grasso" wrote in message ... Hi I cant see the function, I want to call a function I have written! not a standard excel function! The all list only lists excel functions, where should i define my vb function to appear in this ALL list? i can see it! HELP -----Original Message----- instead of just typing in =myfun("helloworld") you should click in Insert Function, then select your function from the "All" list. --- Message posted from http://www.ExcelForum.com/ . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Sum Column above current cell dynamically using function call | Excel Worksheet Functions | |||
Use reference text from one cell in another function call | Excel Worksheet Functions | |||
How do i call a function to a cell? | Excel Worksheet Functions | |||
How do I call a VBA function from a cell? | Excel Programming | |||
Write a function call into an Excel cell from VBA | Excel Programming |