+ Reply to Thread
Results 1 to 2 of 2

VBA update table

  1. #1
    Registered User
    Join Date
    02-03-2021
    Location
    Riga
    MS-Off Ver
    2010
    Posts
    1

    VBA update table

    Hello dear Excel users.
    I`m working around excel programm for the weighbridge (weighing of gross and tare trucks with some cargo).
    Usually Process going like that:

    Weighing Gross - Truck 1
    Weighing Gross - Truck 2
    Weighing Tare - Truck 1
    Weighing Gross - Truck 3
    Weighing Tare - Truck 2
    Weighing Tare - Truck 3

    What I need:
    When I enter new Truck number in Sheet 1 with some additional data (Gross or Net weight) macros should add that truck to the new row of Sheet 2, or update some of the previous trucks in Sheet 2 which has no one of the weights (gross or tare) if Truck number from Sheet 1 is similar one to closest truck from the last row of Sheet 2.

    Thanks in your advance.
    From me some 20$ bonus to your bank account
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: VBA update table

    Try this code in the sheet module

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

+ 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: 6
    Last Post: 02-23-2024, 02:11 PM
  2. Replies: 3
    Last Post: 07-12-2017, 04:44 AM
  3. Replies: 0
    Last Post: 04-06-2017, 02:56 AM
  4. auto update weekly table basis status update
    By JJJ_1812 in forum Excel General
    Replies: 3
    Last Post: 04-28-2016, 03:38 AM
  5. [SOLVED] code to update certain cells in a master table from a smaller table on another workeheet?
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2015, 04:52 PM
  6. Trying to update an access table from Excel based on unique ID. rst.Update not working
    By Newbie0924 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2015, 04:15 PM
  7. [SOLVED] VLookup Question - If i update the lookup table i do not want to update old data
    By mrabattoir in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2014, 03:40 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