SaveInterval

T

tuggie

I'm trying to use Word to compose a document by calling it from another
application. I have found that to get this to work I need to turn off the
automatic backup. When I try to do this by the code
objWord.Options.SaveInterval = 0, I get a 'Bad Parameter' error. So I tried
running a Macro in Word with the code Options.SaveInterval = 0. When I run
this macro I get the same error. I also get the error if I run
Options.SaveInterval = 10 or if I run Options.AllowFastSave = False. However
the code MsgBox(Options.SaveInterval) runs correctly and show the current
setting for the backup save interval. I am using Word 2007. Can anybody shed
any light on this.
 
T

tuggie

I got an answer from another source. The problem with SaveInterval and the
'Bad parameter' message arises from a problem in Word 2007. To cure this
problem, the user name and initials must be set in Word options. If either is
unset, the 'bad parameter' message is displayed whenever you try to set
anything related to a word option.
 
Top