VBA applet

VBA applet

1. Add or delete modules
First , open the VBE window, click the menu "Insert" - "Module", create a new "Module 1" in the workbook, and double-click the module object to open its code editing window, as shown below:
write picture description here
To delete The module can be removed directly by right-clicking the module.
2. Write a VBA program code (check if cell A2 contains feng)

MsgBox Range("A2") Like "feng*"
End Sub

write picture description here
Click to run
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325937789&siteId=291194637