+ Reply to Thread
Results 1 to 4 of 4

Sending reporting to email automatically from excel via VBA

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    São Paulo
    MS-Off Ver
    Excel 2010
    Posts
    2

    Sending reporting to email automatically from excel via VBA

    Hello,
    I would need your help. I do the follow up of cell phone expenses of our company. Every month I have to send to every corporate cell phone user a short reporting of minutes/R$. This reporting is nothing else than just a dynamic table in which I change the filter (name) for each user. Now I do it manually, but I tried to find an automatic way, and found help from my friend, but which still gives me a message of error.

    See hereunder the script :
    Please Login or Register  to view this content.
    I can share the original file, if it helps.

    Thanks in advance !Reporting.xlsx.xlsmReporting.xlsx.xlsm

    Martin

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires CODE tags. I have added them for you because it's your first post--6StringJazzer
    Last edited by 6StringJazzer; 01-08-2014 at 04:50 PM. Reason: code tags

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Sending reporting to email automatically from excel via VBA

    You don't say what the error is, or when it happens. If it is error 400 with no text, and it's when you try to save the temporary file, I think it is because you are trying to save directly onto the C: drive ... which, in my machine, you're not allowed to do. Create a sub-folder, on the C: drive, if you wish, and save and send the temporary file there.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-08-2014
    Location
    São Paulo
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Sending reporting to email automatically from excel via VBA

    You were right, I created a subfolder and saved the file in, and now it works out!

    Thanks a lot!

    Martin

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Sending reporting to email automatically from excel via VBA

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Complex VBA Form (Admin Console) & Reporting tool, Updating sheet(s) sending email etc
    By MisterTRIM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2013, 06:10 AM
  2. Sending Email automatically
    By leooclaws in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2013, 10:43 PM
  3. Sending Email Automatically when due date
    By cyee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 04:21 AM
  4. Automatically sending an email in the futre (Recurring)
    By KevBotes in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 05-18-2012, 05:50 AM
  5. Automatically sending an email with specific text from Excel
    By abenus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2011, 06:15 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