PC Review


Reply
 
 
scott
Guest
Posts: n/a
 
      21st Aug 2008
is it possible to swap cells without having to cut and paste? if i have data
in b3:b5 and c3:c5, and i want the data in each column to switch, is there a
function that allows me to do that?
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      21st Aug 2008
Not without resorting to a macro

Right click the sheet tab, view code and paste this in and run it

Sub swap()
Range("B3:B5").Copy
Range("A65534").PasteSpecial
Range("C3:C5").Copy
Range("B3").PasteSpecial
Range("A65534:A65536").Copy
Range("C3").PasteSpecial
End Sub

Mike

"scott" wrote:

> is it possible to swap cells without having to cut and paste? if i have data
> in b3:b5 and c3:c5, and i want the data in each column to switch, is there a
> function that allows me to do that?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I swap data in columns and rows around? Monkeroo Microsoft Excel New Users 2 28th May 2010 03:16 PM
swap data from one field to another Steve1961 Microsoft Outlook Contacts 1 30th Sep 2009 05:05 PM
Swap data from one cell to another =?Utf-8?B?QnJvb2tzIFcu?= Microsoft Excel Worksheet Functions 2 16th May 2005 03:50 PM
Hard Drive Data Swap zeus Computer Hardware 2 29th Dec 2004 11:41 PM
Excel should allow you to swap rows. Also swap columns =?Utf-8?B?S2lyayBLb3J2ZXI=?= Microsoft Excel Misc 0 17th Sep 2004 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 AM.