Download How to return a result from a VBA function - Stack Overflow book pdf free download link or read online here in PDF. Read online How to return a result from a VBA function - Stack Overflow book pdf free download link book now. All books are in clear copy here, and all files are secure so don't worry about it. This site is like a library, you could find million book here by using search box in the header.
Public Function testRange() As Range Set testRange = Range("A1") End Function Example usage: Dim r As Range Set r = testRange() Note that assigning a return value to the function name does not terminate the execution of your function. If you want to exit the function, then you need to explicitly say Exit Function. For example:
Read : How to return a result from a VBA function - Stack Overflow pdf book online Select one of servers for direct link: |
---|