+ Reply to Thread
Results 1 to 4 of 4

add data to table from userform

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    add data to table from userform

    Hello

    I have Table and userform
    I need vba code that once userform load, select last row in the table and insert new row( insert not expand ), then select the first top blank cell in column B
    then inert the new data from userform to same selected row

    Thanks
    Attached Files Attached Files
    Last edited by Undo; 08-09-2021 at 05:50 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: add data to table from userform

    your form with code added.
    note:- do not manually extend form - this takes place dynamically with tables
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Re: add data to table from userform

    Thanks for help
    I appreciate ur edit, but I want the steps exactly like I mention, because I will continue coding
    only exact steps will help me to go ahead
    Thanks

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: add data to table from userform

    you are defeating the purpose of tables by filling in one column and then finding blank in second column.
    you may as well just use a range - as i can see no purpose to your method i will let someone else respond to your request.

+ 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] Populating a table from UserForm data
    By Underkarolinawood in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-03-2021, 10:39 AM
  2. Populating a table from UserForm data
    By karolina1406 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 04-28-2021, 09:32 AM
  3. Workbook Crashes Upon Closing Userform (Userform Updates Pivot Table Source Data)
    By ChrisHook in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2017, 10:28 AM
  4. [SOLVED] userform search field from 1 table and enter data into another table
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2016, 06:12 PM
  5. [SOLVED] Userform to Query Data from Table
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2016, 09:51 AM
  6. Userform to retreive data from one table and post data to another
    By marktreadwell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2015, 12:27 PM
  7. Userform getting data from Excel table
    By Freaky_zoid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2009, 01:55 AM

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