Hi
I just begun using VBA
I wrote a function to extract a text item from a single row or single column of data entries. The text item chosesn is a numbered item and all non text is ignored. So if the list consisted of "AA","BB"," ","DD","EE" say then the input agruments (3,list) to the function would generate the result DD and similarly (2,list) would generate the result BB.
I wrote the function "nonzerotext" and the test harness subroutine "showtext" to display the output in a message box. This worked.
However, the function does not work alone in the spreadsheet. Any ideas.
See function and test harness below.
Bookmarks