+ Reply to Thread
Results 1 to 10 of 10

Form submit button Help

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

    Form submit button Help

    I have a user form in VBA that pops up when I hit submit daily stats. I want to hit submit in that form and post. When I press submit in the form, I want those totals to add to the name that is beside the boxes (sheet name is their names) and add the info based of the date of Today(). Can you please help!? I have attached the workbook for your help.

    Example: So if beside Ray Webber, I put 5 in emails touched & 7.5 in hours worked, when I press submit, in cell C38 on sheet2 should have 5 and in cell C40 should be 7.5. However, it would need to go into the cell that is equal to todays date which is located in row 4. Any help would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Form submit button Help

    How about
    Please Login or Register  to view this content.

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

    Re: Form submit button Help

    Thank you so much - that works perfectly!!!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Form submit button Help

    Glad to help & thanks for the feedback

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

    Re: Form submit button Help

    Thank you so much - that works perfectly!!!

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

    Re: Form submit button Help

    One more question - so I have changed the cell value in Cells A4 on everyone's sheet so it calculates the date based off the month. Meaning each month, those dates will change. Is there a way that once the date changes, it will keep the monthly stats for January and start adding the numbers in the February monthly stats?

    I also need a button so that when i click on it to export all the sheets with everyone's name on it into another workbook and save it as the monthly data?

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Form submit button Help

    Don't quite follow, what you're after.
    How are the individual sheets getting updated?
    The code I supplied is adding the data to Sheet2, rather than the individual sheets.

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

    Re: Form submit button Help

    Correct, so I have the info pulling from sheet 2 & from the data source to update the personal monthly stats. I basically want a button that I can press & it will export all the sheets that has their names on them saved in one workbook and save it to a location. Also is it possible to have it email out each sheet to that person's email with one button press?

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Form submit button Help

    Try
    Please Login or Register  to view this content.
    Change path & filename to suit.

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

    Re: Form submit button Help

    This is awesome! Thank you so much! Now the tricky part! I have sheet2 that shows everyone on a yearly scale. Since the dates change (lets say on sheet "Ray Webber" in ranges A3:A33), is there a way after the dates change, it would look up the date from "Ray Webber", find the date and pull that info from sheet2?
    Last edited by jamesraywebber; 12-27-2017 at 08:23 PM. Reason: Put wrong name on my sheet

+ 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. Replies: 1
    Last Post: 02-05-2012, 09:31 PM
  2. Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  3. [SOLVED] Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  4. Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] Form with submit button
    By Hooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-08-2005, 03:05 PM

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