MACRO to copy and paste pivot table data

timhue88

New Member
Joined
Jun 16, 2011
Messages
8
Hi all,

i am currently working on a project which requries me to copy and paste pivot table data. for example


in sheet A i have these data in pivot table

A B C
123USD123 1,000,000 1,000,000
234USD234 1,000,000 500,000
345USD345 1,200,000 1,200,000
456USD456 1,000,000 500,000

What i need the macro to do is to double click on column 2 and 3 of row 234USD234 and copy the corresponding data into another worksheet in row1 and row 600 respectively.

In addition, i would like it if it could ignore row 123USd123 and 345USD345 as the values of B and C match.

thank you!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
You'll need to post your code (please use code tags when you do) in order for us to help you with whatever portion of your macro is causing you problems.
 
Upvote 0
to be honest, i dont know how to code. Thus, i constantly use record macro function on excel.

However, i am unable to use this as record excel captures the cell but and wont move down to look at the next cell.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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