|
Visual Basic (VB6 and VBA) |
|
Copyright 1999-2001 Christopher Greaves. All rights reserved. Home Page and email to [email protected] |
| If in doubt, record a macro and inspect the entrails! |
Visual Basic Library
This page was last updated on Tuesday, November 27, 2001
Public Function boolDocHasbeenSaved() ' Procedure : boolDocHasbeenSaved ' Description: Tests if a document has been saved ' Copyright: Chris Greaves Inc. ' Inputs: None. ' Returns: TRUE if document has been saved. ' Assumes: None. ' Side Effects: None. ' Tested: By the calls shown below. boolDocHasbeenSaved = ActiveDocument.Path <> "" 'Sub TESTboolDocHasbeenSaved() ' MsgBox boolDocHasbeenSaved ' Create a new document, then run this test 'End Sub End Function
| We all knew nothing when we started … |
|
Home Page and Contact Information Send email to [email protected]. This page was last updated Monday, November 19, 2001 |