Basic control and usage of VBA

Asked By 20 points N/A Posted on -

I would like to know the basic control and usage of Visual Basic for Applications (VBA) in MS Word. The main purpose for me is to create small word conversion tools using VBA. Please do the needful for providing the tutorial based on that, so that I can use it. Please help.

Answered By 0 points N/A #149494

Basic control and usage of VBA


Hi Annie,

First, if you want to use the VBA feature of MS Word, the Developer tab should be present on the Menu.

If you are using MS Word 2010 and you cant see the Developer tab on the Ribbon,

add the Developer Tab by clicking the FILE menu, then OPTIONS.

From the WORD options window, check the Developer Checkbox on the Main Tabs on the right panel of your screen

Basic VBA programming can be done thru use of MACRO or using the VBA CONTROLS

To use the CONTROLS, simply click the control you wanted to use.  

For example, you can use the TEXTBOX for your INPUT

Add a BUTTON where you will write behind it the code to convert the input to the output you want

You may use  the LABEL control for your Output.

To write the code, just double click the Button and write the code on it

There are some VBA programming help you can find on the web, just google it

To test, click the run button on the VBA window.


Login/Register to Answer

Related Questions