“ Msgbox” is the functional feature in the VBA package which displays whatever is written in it.“InputBox” is a functional feature in VBA wherein the user is asked for input.“ Dim” function is used for declaring the variable, which can be the string, numeric, etc.(Here Name and Birthplace are variables declared as string).read more and select Button (Form Control)ĭrag it anywhere in the form, and the following dialog box would appear and rename the Macro name.Ĭlick on the New Button, and the following code page would appear. They can be found in the developer's tab's insert section. Go to the Developer tab and click on Radio buttons in excel Radio Buttons In Excel In Excel, radio buttons or options buttons record a user's input. This particular feature enables anyone to run the code by the click of the button and for better understanding, let’s have an illustration where a person dynamically enters name and birthplace, which would be displayed as an output. xlsm file so that the macro code gets saved. “ Msgbox” is a functional feature in the VBA package which displays whatever is written in it here, for example (“Hi, Welcome to VBA”)įor saving the above code, save it as a.