Consulting

Results 1 to 2 of 2

Thread: Filter Pivot table by each customer and auto email invoices unpaid

  1. #1

    Filter Pivot table by each customer and auto email invoices unpaid

    Attached file.

    after you step into the macros. once it filters invoices unpaid by the first customer, in the pivot.

    It gives an error

    Does not work, it gives error when reaching line

    ActiveWorkbook.EnvelopeVisible = True

    " Method mail envelope of object _worksheet failed"

    I was not able to resolve this.

    anyone able to help me run this code please.

    Objective of this macro is automate: filter on pivot for each customer, that shows invoices unpaid. then email it to the customer..and so on for each customer

    thanks ,
    Attached Files Attached Files

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,875
    See if there's anything here which might explain why things could be going wong:
    http://www.rondebruin.nl/win/s1/outlook/bmail3.htm
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

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