In today session we will manipulate the data of worksheets using VBA. Visual basic for applications can be used for multiple purposes in MS Excel. It can be used for the following purposes.
1. Manipulate the data
2. Populate Data in worksheets
3. Record Macros
4. Designing Application Interface
5. Designing User Forms
We can use form controls such as command button, text box, radio button, checkbox and many other common controls. VBA provide ActiveX as well as form controls for the insertion in Excel sheets. For using the VBA in MS Excel we first required to add the developer menu option in menu ribbon. It can be added using the custom menu ribbon option. After insertion of developer tab we can access all tools relevant to the VBA and macros.
With the help of VBA we can automate most of the task that are difficult to implement by using MS Excel tools and formula's. VBA is a high level programming language and provide implementation of all control structures such as sequential, selection, repetition and functions. We can loop through the data provided in cells and can apply different conditions using selection structure.