VBA code to moving entire row based on value from drop down list

anhpp72

New Member
Joined
Jun 20, 2022
Messages
13
Office Version
  1. 2011
Platform
  1. MacOS
Hi all. I was hoping to get your help on this. I have 3 items in my dropdown list: dead, clients, prospects and suspects and 3 corresponding sheets. I want VBA to automatically move the entire rows to the corresponding sheet based on the value selected. I am really new on this so any help will be much appreciated.
 
Please explain in detail what you are trying to accomplish. And give specific sheet names.
Hi - I am looking to run a similar macro to what solved the original issues posted here, but instead of moving an entire row I only want to move the contents of one cell and have that pasted in the same column but at the bottom of a list on a different tab. I have attached an image but on Tab 1 (Need_Sched_Mach) the user would input a Machine Number in column A that is the same number as one of the tabs in the workbook.

Once a machine number is populated in column A, I would like the contents of column C on Tab 1 to be pasted into column C in the first open row on a tab that is named the same as the machine number. For this example, I would put in 205 in A4 and the contents of C4 in Tab1 would be pasted in C8 (Red) on Tab 205.

Please let me know if this is clear or I need to send more information.
 

Attachments

  • Screenshot 2023-09-20 160547.png
    Screenshot 2023-09-20 160547.png
    10.8 KB · Views: 1
  • Screenshot 2023-09-20 160934.png
    Screenshot 2023-09-20 160934.png
    31.4 KB · Views: 1
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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