Pivot table selection not Copy/Pasting to Destination Cells

Anniemack

New Member
Joined
Oct 11, 2018
Messages
19
I am trying to copy a column from a pivot table and paste in a different workbook location. It appears to highlight the proper cells in the pivot table, but when it pastes, it pastes blanks! :mad:

I'm at a loss of how to even debug the dang thing. Any help would be greatly appreciated!


Code:
Application.CutCopyMode = False

wf_pt.PivotSelect "Program Title[All]", xlLabelOnly, True
    Selection.Copy
    ws_set.Range("comms_top10").PasteSpecial xlPasteValues
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
All seems to be working for me.

Can you see the data is being copied? Is

Code:
[COLOR=#333333]ws_set.Range("comms_top10").Select[/COLOR]

Selecting the correct range to paste into?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,124,999
Members
449,201
Latest member
Lunzwe73

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