Visual Basic Run-time error '509' when printing outlook message w/ attachments

Posted on 2006-04-26
Last Modified: 2008-12-29
Hi all,

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.

Any ideas?

Thanks in advance.

Bob B.
Question by:bta-guy
    LVL 53

    Accepted Solution

    Are you sure you wanted to post this question in the Apple Macintosh forum?
    LVL 2

    Author Comment

    Oops, sorry about that.  Funny, my mind actually read Mac apps and processed MS Apps... lol.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Steve Jobs once said that Blu-ray is "a bag of hurt". As Macs users well known, things haven’t settled down (at least not from Apple’s perspective). Several years after that comment, Mac OS X still doesn’t support Blu-ray playback, nor has any Mac s…
    A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
    Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
    Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now