Limit the number of open documents in word

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.
 
J

Jay Freedman

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.
 
G

Graham Mayor

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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top