+ Reply to Thread
Results 1 to 5 of 5

Add new data on the last row of worksheet table

  1. #1
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    Add new data on the last row of worksheet table

    Dear all,

    How to add the new data on the worksheets table (A1:A6) with the total in last row by click the command button? the input data are in cells J2,J3,J4,J5.

    Thank you

    Best Regards

    Omegaboost
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Add new data on the last row of worksheet table

    One way to do that:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    Re: Add new data on the last row of worksheet table

    Dear JBeaucaire,

    Thank you for your reply. Your solutions is great and i will apply to my table.
    Just wondering, is there any other way to fill that table beside your solution?

    Thank you
    Omegaboost

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Add new data on the last row of worksheet table

    Probably 100s. Hope the one I offered suffices.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Add new data on the last row of worksheet table

    Another way is this.

    While dealing with an excel table, it's always better to reference that table in the code so that if you move your table on the sheet, the code will follow the table and insert the data correctly into the table.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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: 5
    Last Post: 07-05-2015, 02:24 PM
  2. [Excel VBA]Copy data from a worksheet to a table on another worksheet
    By dylanrose in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2015, 04:20 AM
  3. Extract Data from other worksheet & combine data from two table
    By eve_star1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-09-2015, 05:24 AM
  4. Can I script to move data from a worksheet of tables/forms into 1 worksheet with 1 table
    By andybrown65 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 02:35 PM
  5. Replies: 2
    Last Post: 06-26-2012, 11:55 AM
  6. [SOLVED] Selecting specific data on a worksheet and moving it to a table on another worksheet
    By wesman200098 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2012, 05:45 AM
  7. Pivot table of data in more than one worksheet
    By Rehan in forum Excel General
    Replies: 1
    Last Post: 03-24-2005, 06:06 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