Limit the number of open documents in word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

openIs there a setting in word or the registry that will limit the number of
documents that can be open in word 2003?

We have a user who habitually complains about her computer running slow.
Every time we look at it, she has 50 -70 documents. We always explain to her
the performance hit when having so many documents open. Since she can't
discipline herself to limit the number of open documents, we'd like to do it
for her.
 
openIs there a setting in word or the registry that will limit the number of
documents that can be open in word 2003?

We have a user who habitually complains about her computer running slow.
Every time we look at it, she has 50 -70 documents. We always explain to her
the performance hit when having so many documents open. Since she can't
discipline herself to limit the number of open documents, we'd like to do it
for her.

There isn't any "setting" -- Word will continue to open documents
until it runs out of both physical and virtual memory.

You could rig her Normal.dot template with macros that intercept the
File > Open and various File > New commands and refuse to do anything
if the document count is too large to suit you. See
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm to get
started.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
Something like

Sub FileNew()
If Documents.Count > 5 Then
MsgBox "Too many documents open," & vbCr & _
"You must close documents before creating any more", vbCritical
Exit Sub
End If
Dialogs(wdDialogFileNew).Show
End Sub

Sub FileOpen()
If Documents.Count > 4 Then
MsgBox "Too many documents open," & vbCr & _
"You must close documents before opening any more", vbCritical
Exit Sub
End If
Dialogs(wdDialogFileOpen).Show
End Sub

should tame her - any more than 5 documents and she will be thrown out with
a warning ;) You can change the 5 and 4 in the macros to any practical
figures you like.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top