+ Reply to Thread
Results 1 to 3 of 3

VBA to make a weekly & monthly totals after cell change

  1. #1
    Registered User
    Join Date
    11-29-2017
    Location
    Clearwater, FL
    MS-Off Ver
    2016
    Posts
    47

    VBA to make a weekly & monthly totals after cell change

    On my sheet I have my employees & I have a weekly & monthly stats sheet with the yearly on Sheet2. On the Control sheet I have 3 buttons, basically I want to press Submit Daily stats where it will popup with a form, then it will basically put the values in on sheet 2 for the person it is beside.

    I have the weekly stats dates to update based off the beginning of the week. I want it to look up all the values based off sheet 2 along with the employees personal sheet and update the values.

    Here is the catch, at the end of the month, I want all the employees values to clear because the date will switch to a new month at the end of the month. Can anyone please assist me with this?

    On another button, I want it to email the weekly stats along with the monthly stats for that particular month. What I currently have, it only emails the weekly stats, however i need it to find the currently monthly stats off the "monthly stats" sheet & copy that into the email as well. I have attached my sheet for your assistance!
    Attached Files Attached Files
    Last edited by jamesraywebber; 01-02-2018 at 04:20 PM. Reason: Was told it was too vauge

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO200;Win10/MSO2016
    Posts
    9,662

    Re: Weekly & Monthly Stats

    Title updated, but...
    You have a form with several buttons, and several subs. You need to post the specific code you are having trouble with and ask specific questions.
    Last edited by protonLeah; 01-02-2018 at 10:00 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-29-2017
    Location
    Clearwater, FL
    MS-Off Ver
    2016
    Posts
    47

    Re: VBA to make a weekly & monthly totals after cell change

    Please Login or Register  to view this content.
    This code emails the Weekly stats but I also need it to select the current month range from Monthly stats sheet & past it into the email as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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