CTRL+G

Zac

Well-known Member
Joined
Feb 20, 2002
Messages
796
I'm trying to record a MACRO that shows the non-blank cells in COL "D".
Then I want to hit CTRL+G, Special, Visible Cells Only, and cut them to another location.

I've performed this before in a MACRO, but I'm getting an error this time
which states:
"The command you chose cannot be performed with multiple selections.
Select a single range and click the command again".

Like I said I've done this before and use this command for my Acctg Dept for their end of the month Commission Report.

Why can't I do it here?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You can copy a selection of non-contiguous cells as long as each area has the same column(s). You can't cut like that. Try copying then depending on your desired outcome, .ClearContents; .Clear or .Delete Shift:=xlUp back in your source range.
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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