Return a string from funtion : Function Return « Language Basics « VBA / Excel / Access / Word.
www.java2s.com