Need VBA code for copy paste data to another worksheets

Tarek_CTG

Board Regular
Joined
Apr 27, 2015
Messages
160
Office Version
  1. 2016
Platform
  1. Windows
Hello
How are you? I need a help for my workbook. In my attached workbook, there is a column named Remarks. In remarks, there are some comment such as "Joined", "Selection Under Process" etc. I want to run a macro after which all "Joined" data will go to "Joined" worksheet, all "Selection Under Process" will go to "Selection Under Process" worksheet etc. Can you please help me to find a vba code for this?
 

Attachments

  • selection under process.png
    selection under process.png
    178.9 KB · Views: 9
  • joined.png
    joined.png
    170.3 KB · Views: 9

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
If you're using a later version of Excel, which you appear to, this would be easier in Power Query, with less VBA and maintenance

Otherwise, record code as follows:
Make a copy of the Master sheet
Sort all rows by "Remarks" column
Create new sheets and copy the relevant Remark data across
Delete the copied sheet

Post the code back and readers can suggest improvements/changes
 
Upvote 0
Power Query would be the best slution.
but for that to work out we would need minisheets or link to a file.
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

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