+ Reply to Thread
Results 1 to 8 of 8

Filter Pivot table by each customer and auto email invoices unpaid

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    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

    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
    Registered User
    Join Date
    11-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

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

    It gives error - Method mail envelope of object _worksheet failed

    when it reaches this line - With r.Parent.MailEnvelope.Item
    thanks

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

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

    Any luck people? please help. sorry to bump this..

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

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

    .
    I added " Sheets("Pivot"). " as indicated below and it sends emails here ...

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

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

    Does not work, it gives error when reaching line

    ActiveWorkbook.EnvelopeVisible = True

    " Method mail envelope of object _worksheet failed"

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

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

    .
    ???

    I can't recreate the same error you are seeing there. When I ran your macro as is, I received an error on the indicated line.
    Added the sheet name and it works here.

    Not certain what is happening on your end to correct the error you are seeing.

    I am so sorry ....

  7. #7
    Registered User
    Join Date
    11-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

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

    Many thanks, are u saying you are able to email from outlook. at my end this macro fails when it reaches this line.With r.Parent.MailEnvelope.Item

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

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

    .
    Yes, it works as desired here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Summarise Unpaid Invoices
    By CraigMcKee in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 07-25-2018, 06:24 AM
  2. [SOLVED] Unpaid Invoices
    By couevans in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2017, 05:49 PM
  3. Filter specific customer in pivot table.
    By thursday140 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-30-2017, 08:38 AM
  4. Pivot table for past due invoices by Customer
    By kpierce in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-24-2015, 01:31 PM
  5. How to show full totals in Pivot chart and table when you filter on one customer?
    By newbieexcelgirl in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-12-2012, 06:30 PM
  6. unpaid Invoices
    By hasanbirol in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 09-17-2012, 12:16 PM
  7. track unpaid invoices
    By mukesh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2006, 09:40 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1