Results 1 to 20 of 25

Thread: Solved: before print

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    Hi ALe

    Thanks for the reply
    my help said the following should work for me

    Private Sub App_DocumentBeforePrint(ByVal Doc As Document, Cancel As Boolean)
        a = MsgBox("Have you checked the " _
            & "printer for letterhead?", _
            vbYesNo)
        If a = vbNo Then Cancel = True
    End Sub
    But doesnt seem to do anything for me, any ideas what im missing here
    Last edited by Aussiebear; 03-26-2023 at 01:22 AM. Reason: Adjusted the code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •