Well, I got up to 1766 using this vba procedure, but it took a while, and
I'm not proud of it! It took about 15 minutes too!
Sub addpages()
Const FLUSH% = 50
Dim i As Integer, iFlush As Integer
Dim pg As Visio.Page
Visio.Application.UndoEnabled = False
For i = 1 To 600
Set pg = Visio.ActiveDocument.Pages.Add()
pg.Name = Visio.ActiveDocument.Pages.Count
iFlush = iFlush + 1
If iFlush = FLUSH Then
Debug.Print "Flushing at i = " & i
iFlush = 0
DoEvents
End If
Next i
Visio.Application.UndoEnabled = True
End Sub
Do you really need more?
My file was over 800k and had only empty pages, btw.
--
Hope this helps,
Chris Roth
Visio MVP
www.wanderkind.com/visio