Do we have excel shortcut to switch two columns without having me to write/rec the code?

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Hi, do we have excel shortcut to switch two columns without having me to write/rec the code?

Select and switch 2 cols [may be A with B and B with A etc]..


Thanks :)
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Found 1 but if there is another way...pls let me know.:)

Select and drag style:

- Select either of the two cells
- Point at the black border
- <Shift>-drag this cell to the other side of the neighbouring cell
(You'll see a T-bar moving over tour sheet)

 
Upvote 0
Isn't it simply
Code:
Sub moovit()
    Range("RANGE").Cut Destination:=Range("RANGE")
End Sub
for cells
AND
Code:
Sub Moovit()
    Columns("COLUMNS").Cut
    Columns("COLUMNS").Insert Shift:=xlToRight
End Sub
for columns
 
Upvote 0
Michael, that way, it is simple but in case if i do not want to use vba then...I thought there could be a shortcut to do that..:)


Thanks Mic!:)
 
Upvote 0
Please tell me something better then that...just kidding...:biggrin:

Thanks again. I thought there is a shortcut i didn't know about
 
Upvote 0
Fairly simple to ..

1. Select column B by clicking its heading label.
2. Cut
3. Select column A by clicking its heading label.
4. Right click|Insert Cut Cells
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
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