how to move select cells from a row from one sheet to another based on the value of two cells in that row

jason90

New Member
Joined
Mar 21, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
hi all,

really hoping someone can help me here as i just cant seem to find the answer online after days of looking

I'm trying to create a macro that will automatically move data from one sheet to another based on the values in two columns

so the sheet that holds all the data is called "FRONT" and then i have 31 tabs for each day of the prospective month named 1st, 2nd, 3rd and so on

on each tab for the days of the month there are 16 individual tables that correlate to 16 different vehicles

so if a row on the "FRONT" sheet has the 1st in column E and lets say BD65YSK in column G I would like the data copied from cells A,B,D,J and K copied to the table for the relevant
tab inside the relevant table that corresponds to that vehicle and i would like the copied data to then appear in unison with no gaps

i have managed to get this to work using just the REG but as you can imagine that is no good as it will just send all the data to the one sheet instead of splitting it up based on what day of the month
 

Attachments

  • sheet1.png
    sheet1.png
    97.1 KB · Views: 13
  • sheet2.png
    sheet2.png
    116.6 KB · Views: 13

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,224,814
Messages
6,181,126
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top