Excel Macro
Excel Macro
1. Macro
2. Customize general setting
3. Customize the save
4. Language Setting
5. Excel list
Contact
Step 1 First, enable 'Developer' menu in
Excel 20XX. To do the same, click File
Options.
Step 2 Click Customize the Ribbon tab and
check 'Developer'. Click 'OK'.
Step 3 The 'Developer' ribbon appears in the
menu bar.
Step 4 Click the 'Visual Basic' button to open
the VBA Editor.
Step 5 Start scripting by adding a button.
Click Insert Select the button.
macro
Step 6 Perform a right-click and choose 'properties'.
Step 7 Edit the name and caption as shown in the following
screenshot.
Step 8 Now double-click the button and the sub-procedure
outline will be displayed as shown in the following screenshot.
Private Sub say_helloworld_Click() MsgBox "Hi" End Sub
macro
Click on the File tab and choose Excel Options.
In the General group, navigate to the section titled When
creating new workbooks.
You can change the number of sheets created in a new
workbook by changing the Include this many sheets option.
Click OK after making your selections.
Close and re-open Excel.
Language Setting
Create the list in cells A1:A4. Similarly, you can enter the items in a
single row, such as A1:D1.
Select cell E3. (You can position the drop-down list in most any cell
or even multiple cells.)
Choose Validation from the Data menu.
Choose List from the Allow option's drop-down list. (See, they're
everywhere.)
Click the Source control and drag to highlight the cells A1:A4.
Alternately, simply enter the reference (=$A$1:$A$4).
Make sure the In-Cell Dropdown option is checked. If you uncheck
this option, Excel still forces users to enter only list values (A1:A4),
but it won't present a drop-down list.
Click OK.
Excel list