Random problem here. Windows XP box, running Office XP. User has "Print attached files. Attachments will print to the default printer only" button selected under printer options.
When they try to print some (seems fairly random) messages that have word documents, the following Microsoft Visual Basic error comes up:
Run-time error '509'
The SetDocumentDirty command is not available because the document is locked for editing.
Thanks in advance.