Simple Macro to Copy/Paste

yankeez245

New Member
Joined
May 6, 2020
Messages
12
Office Version
  1. 2013
Platform
  1. Windows
Hello, I have a relatively straightforward macro that I would like to create.

In Sheet A, I have two columns. Column A, cell A1 is titled "Match." The rest of the cells below A1 either say "True" or "False." Column B is titled "new cars" in B1, then has a list of unique values in the cells below. Ie. Cell B2 says "2009 S-Class," "B3 says "2012 Audi Q8"...etc.

I want to make a macro that allows me to filter column A for only cells that say "True," and then copy/paste all of those corresponding values in Column B/Sheet A into Column A/Sheet B, column A. I then want to filter column A in Sheet A for "false," and copy/paste all of the corresponding values in column B into Sheet B, column B.

I have recorded a macro that does this but it doesn't seem to work. Any suggestions?

Thank you!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
" Column B/Sheet A into Column A/Sheet B, column A. "

The above does not make sense. Too many columns or sheets. Please explain.

Secondly, it would be of great assistance if you could post a sample copy of your workbook for review. Make certain it does not
have confidential data (use markup data examples) and only enough to understand what you want to accomplish. A "before/after"
presentation if you will.

Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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