Excel VBA formulas for Spreadsheet by Sharath Kumar Peechara - HTML preview
PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.
Download the book in PDF, ePub, Kindle for a complete version.
Exercise 13: Excel RT Version Function
1. Create a UDF (User Defined Function)
To create this Function, execute the following steps
- Open Excel VBA (Alt + F11)
- Insert a New Module
- In the Project Explorer, double click on the Module
- Add the following code line:

This Will Create A new UDF (User Defined Function) with name xlVers(),we Can use this As we Required. type in Excel the function = xlVers(),the UDF Comes up in small letter’s to differentiate itself from Standard Excel Formula
In Cell A1 Type
= xlVers()
It will show result As 16

