+ Reply to Thread
Results 1 to 7 of 7

How to fill in a form and the data to be pull into another workbook and pv this summary

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Question How to fill in a form and the data to be pull into another workbook and pv this summary

    Hoped the experts in this forum could help.

    I had tried to write my 1st VBA but seems like cannot work.

    I had created a form for my users to use to submit their ordering of stationery.

    After they had filled up the fields, I will then copy these into a master list, in a separate file and named the worksheet as "Summary".

    Option A: I do not wants to automate the copying, but uses a Command Button named "Update" and only updates when I opened this file from User A, User B, User C.

    Option B: I allows user to automatically submit it to my Summary so that I don't have to open the file one by one.

    Can someone help with these two scenairos?

    After receiving data from all users, I will need to do a sum for the usage for the month and these data will be then put to a pivot table for easy viewing.

    Read online that for the summary worksheet with VBA, it is not advisable to insert as a table. Is this true?

    If yes, can I then copy the data from this worksheet Summary to another workbook call PVSum and do the monthly summary automatically? And draw lines at the same time??
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Hi,
    it's for option1, replace yr code with this one, see the modifications.
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Dear John55,

    Thanks for the correction. I am having problem with my land line to log in, thus, using mobile data line to access into here. Even though can only help on submitting the data, but is good enough. Hoped that some other good souls can help on the auto adding (closing) for each month. Else, will need to do it manually by copying the data out into another worksheet.

    Once again, thanks for your help!! It's great!

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Hi,
    Thank you for the rep! Glad it help you for a start.
    if you want you can add two buttons in Summary in order to do sum
    Please Login or Register  to view this content.
    and to clear
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Dear John55,

    Thank you for the sum code. It works. But if I already have lots of data in all months from Jan till Dec, where and how can I insert a command to "judge" and sum according to the months? For example, in my sample worksheet, I stopped at Mar, what if we already have data till Dec 13, and needs to insert a sum for each month, can help to do this?

    I had tried to insert rows after each month, but the codes that you had written above will still sum till the last row of the data. It will not find and sum according to the months even when I inserted a blank row in between.

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Hi, there are several ways to accomplish this. I am sorry...

  7. #7
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: How to fill in a form and the data to be pull into another workbook and pv this summar

    Dear John,

    Thanks for replying. Worst come to worst, click a button to do it monthly.

+ 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: 08-28-2013, 05:04 PM
  2. Replies: 2
    Last Post: 06-21-2013, 07:23 AM
  3. Summary will not pull all of the data I need
    By JJjrDiM in forum Excel General
    Replies: 1
    Last Post: 09-27-2012, 10:39 AM
  4. Pull Data from Various Worksheets into a Summary Sheet
    By shanipk82 in forum Excel General
    Replies: 1
    Last Post: 04-14-2011, 12:36 PM
  5. Create User form to pull from equipment list and fill in data
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2009, 02:48 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