+ Reply to Thread
Results 1 to 16 of 16

I need to make user form for data sheet table

  1. #1
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    I need to make user form for data sheet table

    Dear all

    I have sheet with table
    contain more than 100 column
    each row represents one patient

    I need to make user form
    I can enter data in it
    and it contain button
    when I press it it will send details in user form into next empty row in my table
    i need vba equation to link between
    I can use excel very easy
    I have zero knowledge in VBA programming

    Thanks allhttps://www.excelforum.com/attachmen...1&d=1490652244
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: I need to make user form for data sheet table

    Which data fields need to be on the userform? Columns A through....??????
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: I need to make user form for data sheet table

    You could make use of a a built in dataform. This is used for Database updates...Can add new, delete old or edit existing.
    Check out this link:https://excelribbon.tips.net/T006207...ata_Forms.html
    Or to call the form from a commandbutton in userform, this code should work.
    Please Login or Register  to view this content.
    Last edited by sintek; 03-28-2017 at 02:00 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    all columns starting D column...

  5. #5
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    Quote Originally Posted by sintek View Post
    You could make use of a a built in dataform. This is used for Database updates...Can add new, delete old or edit existing.
    Check out this link:https://excelribbon.tips.net/T006207...ata_Forms.html
    Or to call the form from a commandbutton in userform, this code should work.
    Please Login or Register  to view this content.


    thanks
    let me try this
    but i do not know where to add this..

  6. #6
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    Dear
    i did this form for this table
    but i can not fix the link between both



    if you can help me to complete it

    thanks

    https://www.excelforum.com/attachmen...1&d=1490768116
    Last edited by x_ampl1; 03-29-2017 at 02:15 AM.

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: I need to make user form for data sheet table

    Here is a sample file. This dataform only works if the fields are 32 or less. If you require more, a userform will have to be built.
    Attached Files Attached Files

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: I need to make user form for data sheet table

    Here is a example of a Userform to update or edit a database
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    Quote Originally Posted by sintek View Post
    Here is a example of a Userform to update or edit a database
    Dear Sintek
    thanks so much.
    It is working
    But i need to apply it on my user form
    that I had loaded it
    in last file.
    consider that there is drop down list in some fields .
    can you check it
    or guide me how to link both with same way
    i will continue other columns.
    https://www.excelforum.com/attachment.php?attachmentid=509526&stc=1&d=1490768116
    thanks

  10. #10
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: I need to make user form for data sheet table

    Perhaps, it is time for you to employ the services of a VBA coder...This task can be done, however, as much as we do love to help out, we cannot unfortunately take on entire projects. The above example worksheet and suggestions are more than adequate to get you started.

  11. #11
    Valued Forum Contributor unit285's Avatar
    Join Date
    10-29-2015
    Location
    TN
    MS-Off Ver
    Office 365
    Posts
    358

    Re: I need to make user form for data sheet table

    maybe this
    Attached Files Attached Files

  12. #12
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: I need to make user form for data sheet table

    @ unit285

    If I may make a suggestion...
    Perhaps you could look at using list rows add - as the data is in a Table
    Please Login or Register  to view this content.
    Last edited by sintek; 03-29-2017 at 02:44 PM.

  13. #13
    Valued Forum Contributor unit285's Avatar
    Join Date
    10-29-2015
    Location
    TN
    MS-Off Ver
    Office 365
    Posts
    358

    Re: I need to make user form for data sheet table

    @ sintek

    Excellent point. I was hoping the op would be able to maybe use it as a starting point to learn vba etc.. using list rows add is a better solution then what i put into the userform

  14. #14
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    Dear Sintek

    You did alot
    thanks for your kind care.
    I think it is easy think
    but when i sow your codes
    it is big
    really big.
    thanks so much again
    I will do my best

  15. #15
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    Quote Originally Posted by sintek View Post
    @ unit285

    If I may make a suggestion...
    Perhaps you could look at using list rows add - as the data is in a Table
    Please Login or Register  to view this content.
    Realley you did much to me

  16. #16
    Registered User
    Join Date
    12-16-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: I need to make user form for data sheet table

    I can not express my thanks for you
    you completeed it to me...
    Thanks so much

+ 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] how to make a User form that auto-populates info from a selected sheet
    By blake3393 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-07-2015, 03:11 PM
  2. User form link to data table at sheet
    By x_ampl1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2014, 03:36 AM
  3. I need to make data entry user form
    By gunatilake.dayan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2014, 10:35 AM
  4. make user form stay open while going to other pages but hide when i go to other sheet
    By excelslizzard in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2012, 07:12 PM
  5. User form to filter data from pivot table
    By kmprocto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2012, 03:22 PM
  6. How to display table from excel sheet on to User form
    By fakm79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2011, 08:26 AM
  7. Writing data table to user form
    By Mitch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2005, 01:06 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