![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkjs1kOOd2blkTWEU-4NpDhUe2DcNwV9uKkmxf0YgIVseX8DvSgETjAS-bYmYSgELwrJMAKYI-EMbHjIcuGE4hg7_M59ExPY8fCG5lN7PQ3QVydvH-DEVmtwMSJp9HqP4OMg75lM9z1D0/w506-h283/excel+macro+message+eng.png)
Example of code to make message on microsoft excel using macro:
- First, make minimal code required on excel macro:
Sub namaSub()
End Sub - Add code to make message on excel macro:
Sub namaSub()
MsgBox "Text will appear as message"
End Sub - Message content can be changed, example:
Sub namaSub()
MsgBox "Welcome to ms excel, use pc wisely... ;)"
End Sub - To show message can be used Function procedure:
Function namaFunction()
MsgBox "Welcome to ms excel, use pc wisely... ;)"
End Function
Source:
Tutorial Excel Indonesia: https://www.youtube.com/watch?v=CjeC1lqQuwI
0 komentar:
Posting Komentar