A useful adjunct to any procedure which has assumed that a document exists.
<pre>Public Function EnsureDocument()
If Documents.Count < 1 Then
Documents.Add
Else
End If
End Function
</pre>
A useful adjunct to any procedure which has assumed that a document exists.
<pre>Public Function EnsureDocument()
If Documents.Count < 1 Then
Documents.Add
Else
End If
End Function
</pre>

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.