Hi all,
My requirement is to get the string value between two characters(eg : "-").
Suppose if xxx-yyyyy-zzz is the string in any cell(say A1).I want the result as yyyyy.
I have the above function.But when I use it as =midtxt(A1) it returns 0.Please Login or Register to view this content.
Please tell me where I have gone wrong.
If I use the same logic for a command button then the code works fine.
Thanks and Regards.
Bookmarks