+ Reply to Thread
Results 1 to 7 of 7

UserForm to send to table dependent on category selected.

  1. #1
    Forum Contributor
    Join Date
    11-30-2005
    Location
    Penzance Cornwall, UK
    MS-Off Ver
    Office 365
    Posts
    198

    Unhappy UserForm to send to table dependent on category selected.

    I have a used user forms in the past for data entry, but I can’t get my head around how to code what I would like to do here.

    At the moment I am using 4 tables.

    As the data that arrives is not in any sort of order, we have to keep going from one table to another to enter data.

    What we would like......
    Choose Category, enter Net, Vat, Gross and Reference, click on button Add To Sheet.
    There is a Table for each Category.
    Entry should go to corresponding cells of the Table in the chosen Category, adding table rows as required, on the active sheet, clear user form ready for next entry.

    This would be repeated each month.
    Attached Files Attached Files
    Last edited by kjg; 09-07-2017 at 05:07 AM. Reason: Attachment not gone.

  2. #2
    Forum Contributor
    Join Date
    11-30-2005
    Location
    Penzance Cornwall, UK
    MS-Off Ver
    Office 365
    Posts
    198

    Re: UserForm to send to table dependent on category selected.

    This seems so easy........but I have been struggling most of the day and am no closer

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: UserForm to send to table dependent on category selected.

    Hi kjg

    See if this Code in the attached does as you require...
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    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.

  4. #4
    Forum Contributor
    Join Date
    11-30-2005
    Location
    Penzance Cornwall, UK
    MS-Off Ver
    Office 365
    Posts
    198

    Re: UserForm to send to table dependent on category selected.

    Thank you so much for your reply and solution John.

    We have thoroughly tested and it seems to do exactly as we require.

    Now we would like to understand how it all works.

    If its not too much trouble, would it be possible for you comment the code (in simple terms) so we might learn ‘how it does what’.

    We appreciate your assistance.

    Keith

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: UserForm to send to table dependent on category selected.

    Hi kjg

    You're welcome...glad I could help.
    I've commented the Code as requested.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    11-30-2005
    Location
    Penzance Cornwall, UK
    MS-Off Ver
    Office 365
    Posts
    198

    Re: UserForm to send to table dependent on category selected.

    Thats great John, thank you very much.

    I should be able to learn from that.

    Very much appreciated,
    Keith

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: UserForm to send to table dependent on category selected.

    You're welcome...glad I could help. Thanks for the Rep.

+ 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] Send only Ranges selected with Userform - Not the entire sheet
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 06-12-2016, 07:32 AM
  2. Send Multipage Userform CheckBox Selections to Multiple Rows of Category
    By excelforumkeys in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2014, 10:28 AM
  3. Userform with dependent combo/text boxes that then update table
    By Plane Fixer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2014, 08:23 AM
  4. Send hyperlink of workbook to selected Outlook User Groups - UserForm?
    By ssteines in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2014, 11:50 AM
  5. Userform that will ad data to specified table and send email with notification
    By AndrzejSnk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2014, 02:17 PM
  6. [SOLVED] send attachment selected in userform to a specific cell
    By jjyoung in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2013, 04:14 PM
  7. Send Userform data to selected row
    By revenge4ash89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2012, 05:09 AM

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