Want leave a Message for your remainder, it’s will open when your word
doc it’s open then :
1. Open the file you insert message.
2. Click Developer | Visual Basic / ALT F11.
3. Double Click This Document.
4. Type this code
- For the message :
Sub LihatPesan()
MsgBox “message” Exmple “Tolong Kirim Email ke Direktur”
End Sub
- To call message when open :
Private Sub Document_Open()
Call LihatPesan
End Sub
5. Save as Word Macro – Enabled Documents on Trusted Folder.
6. Now for test close the doc and open again.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment