Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
RE: autotext...ANOTHER reason to not put stuff in normal.dot. Their autotext should be in an explicit template. In fact, if they did have it that way, you could use a distributed normal.dot.The problem is that many users have different resolutions so one persentage does not suit all. I can also not distibute a standard Normal.dot as all users have their own autotext setup.
I am having a hard time following this. A macro to SET the zoom...but run by the user. Huh? Why bother when the user can just set the zoom?So the idea is to setup a macro in one of our distibuted templates, add a macro to set the zoom that can be run by the user. The macro checks if the code is already there, if so it replaces it with a user specifed zoom, if not it creates it.
VBA Help said:Just like other macros, auto macros can be stored in the Normal template, another template, or a document. In order for an auto macro to run, it must be either in the Normal template, in the active document, or in the template on which the active document is based. The only exception is the AutoExec macro, which will not run automatically unless it is stored in one of the following: the Normal template, a template that is loaded globally through the Templates and Add-Ins dialog box, or a global template stored in the folder specified as the Startup folder.
[blue]Dim WithEvents App As Word.Application
Private Sub Class_Initialize()
Set App = Word.Application
End Sub
Private Sub App_DocumentOpen(ByVal Doc As Document)
Dirty = ActiveDocument.Saved
Zoom = GetSetting("Word", "DocumentSettings", "Zoom")
If Zoom = "" Then
Zoom = InputBox("Please enter your desired zoom setting")
[green]' Validate it here - numeric, and sensible(?)[/green]
SaveSetting "Word", "DocumentSettings", "Zoom", Zoom
End If
ActiveWindow.View.Zoom = Zoom
ActiveDocument.Saved = Dirty
End Sub[/blue]
[blue]Dim AppEvents As Class1
Sub AutoExec()
Set AppEvents = New Class1
End Sub[/blue]