VBA - Copy/paste multiple rows/columns based on cells with conditional formatting

kimberlie

New Member
Joined
Feb 18, 2016
Messages
4
I'll try to keep this short, but am a newbie to more complicated VBA.

Would love some help and explanation of the logic on creating a macro which does 2 things

1. Looks at a range of data and highlights both the row and the column where a cell has conditional formatting.
Note: The range of data can be actual number format or a percentage and I already have macros which do all of the formattings for me.

2. Then copies all of the selected cells and copies and pastes into an already created sheet named 'changes'.


so far my notes are as follows, please dont judge lol :confused:

' #1 . highlight column and row
[SelRow]=ActiveCell.Row
[SelCol]=ActiveCell.Column


'#2. copy paste above
Range (from above unsure what it would end up being called).Copy
Sheet(Changes).Select
ActiveSheet.Paste


Thank you in advance to anyone who fancies helping me out :)
Eternally grateful BM who needs to help her team who are new to excel :eeek:
 

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,223,970
Messages
6,175,707
Members
452,667
Latest member
vanessavalentino83

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