2025-01-21 About Visual Basic for Applications in MSExcel - Excel-VBA
We are sure our esteemed readers are quite aware of what Visual Basic For Applications (VBA) is and how it can be accessed from the Microsoft Excel interface, still, to put the basics into the right perspective, we shall revise the same. So, first you have to learn how to enable the Developer's Menu in Microsoft Excel. So first you have to go to the main menu of excel and then scroll down to the option menu, as shown in the below Figure 1. On the bottom left hand corner you will find Options, with the quick access short-cut key as "T".
Okay, now that you have discovered the Options menu, you just click it and VOILA, the options Dialog Box appears, as shown in Figure 2 below.
In the options Dialog Box, you can see that the "Customize Ribbon" option has already been selected in the left hand menu (appearing under 'Excel Options'). If the right hand 'Customize the Ribbon' does not show "Developer", as it does in the above figure, it could be that your graphic resolution may be a little lower than what is needed to display, in which case you just have to scroll down under the "Main Tabs", till you come to "Developer", nestled between "Automate" and "Add-Ins" options. By default, it would be unchecked, so you just have to click on it with your mouse, or navigate with your keyboard arrows and press space-bar. VOILA, the Developer menu will appear in your main Excel Interface, as shown in Figure 3 below.
Figure 3 - Excel Main Interface
That is all that you need, to enable "Developer" menu. In order to start coding in the Visual Basic Environment (VBE), all you have to do is to click on the "Visual Basic" icon that appears on the extreme left corner of the "Developer" menu.
Okay, so now, when you click Visual Basic, what happens is that a new windows opens up, as shown below.
cavs.mathur@gmail.com
No comments:
Post a Comment