Gom player for mac. ||||||||||| Please direct any questions or bugs regarding software to the company that developed the program. To run the macro from Outlook 2007 or older, go to Tools, Macro, Macros and select the macro. In Outlook 2010, you need to show the Developer ribbon first (File, Options, Customize Ribbon - check Developer ribbon on the right). Use Visual Basic for Applications to create a macro You can use the built-in Visual Basic Editor to create a macro. On the Developer tab, under Visual Basic, click Editor. ![]() ![]() Step 1: Click Tools menu then Macro followed by Visual Basic Editor. Step 2: In the Project navigation, select the currently opened document. When add the macro under Modules in Normal Project the macro will be available through out the application. But by selecting “ThisDocument”, this newly created macro will only be available for the current document. Step 3: If you cannot see the Visual Basic Editor window then click View Code option under Project navigator section. Step 4: Click Insert menu and select Procedure from the menu list. Step 5: In the Add Procedure window, enter a name for the procedure, select type as Sub and Scope as Public. Step 6: Type the following in the newly created procedure. This would display today’s date in a message box. Public Sub DisplayDate() MsgBox Date$, vbOKOnly, “Today’s date” End Sub Step 6: Now to run or test this procedure, click Run menu and select Run Sub/UserForm from the menu list. This should display the following Macros window, select macro with name as DisplayDate and click Run button. Now you should see the following Message Box with the current date. The newly created macro will be available as part of the Macros. And if you want this macro to be available permanently with this document then make sure to save the document as “ Word Macro-Enabled Document.docm“.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |