To use VBA or enable macro on word is to set the Developer tab.
On Word options, click on “Customize Ribbon” then tick on “Developer”
tab.
Please check screen shot below:
To start doing macro.
Click on Developer tab, click on “Macros”.
Type a macro name and click on create.
Upon clicking on create; the Visual Basic Window will open.
Under the Visual Basic Application window, expand or
collapse the Project Tab and double click on “ThisDocument”.
ThisDocument should be clicked in order to choose the events
available for the document.
On the right pane, click on the drop down menu and select “Open”.
So basically under the drop down, any event that is chosen
is the option that will be executed by the macro.
Type this code below, under the Open Sub procedure.
ActiveWindow.View.FullScreen = True
To check whether the code runs properly, click on the play button.
Comments
Post a Comment