Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
it's a bit odd but i can't call a user-defined function i wrote when
try to do it from inside a sub/macro. those below wouldn't work, it' just a syntax problem i reckon: ActiveCell.FormulaR1C1 = FindNth(A1:A200, "A", 1) ActiveCell.FormulaR1C1 = FindNth("A1:A200", "A", 1) etc. i can call it from within a worksheet with = FindNth(A1:A200, "A", 1) when typing this into a cell. but when i use it in the macro, the function is only available to tha module and not to the worksheet the macro has been applied on.... For the same reason, i cannot use sth like ... = "=FindNth(A1:A200, "A", 1)" Could somebody give me the right syntax (or tell me how to make function from a macro globally available) Cheers already Fabaliciou -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Message "user defined type not defined" | Excel Discussion (Misc queries) | |||
User-defined search term in macro | Excel Discussion (Misc queries) | |||
Writing macro results to user defined areas within excel | Excel Discussion (Misc queries) | |||
"User-defined type not defined" message in Excel | Excel Discussion (Misc queries) | |||
Word.Document - user defined type not defined | Excel Programming |