#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 231
Default Copy / Paste

Does anyone know if there a way to do the following:

A1 B1 C1
1 2 3

Copy the values from A1 to C1 onto the clipboard then starting at C1 paste
as follows:

A1 B1 C1
3 2 1

Thanks in advance!

Sarah
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Copy / Paste

I just recorded this. which can then be cleaned up

Sub Macro9()
'
' Macro9 Macro
' Macro recorded 12/11/2006 by Don Guillett
'

'
Columns("C:C").Select
Selection.Cut
Columns("A:A").Select
Selection.Insert Shift:=xlToRight
Columns("C:C").Select
Selection.Cut
Columns("B:B").Select
Selection.Insert Shift:=xlToRight
End Sub


Columns("C").Cut
Columns("A").Insert Shift:=xlToRight
Columns("C").Cut
columns("B").Insert Shift:=xlToRight




--
Don Guillett
SalesAid Software

"Sarah" wrote in message
...
Does anyone know if there a way to do the following:

A1 B1 C1
1 2 3

Copy the values from A1 to C1 onto the clipboard then starting at C1 paste
as follows:

A1 B1 C1
3 2 1

Thanks in advance!

Sarah



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Copy / Paste

Sarah

Not without some VBA code.

I would select just the three cells then DataSortOptionsSort left to Right in
descending order.


Gord Dibben MS Excel MVP

On Mon, 11 Dec 2006 09:51:11 -0800, Sarah
wrote:

Does anyone know if there a way to do the following:

A1 B1 C1
1 2 3

Copy the values from A1 to C1 onto the clipboard then starting at C1 paste
as follows:

A1 B1 C1
3 2 1

Thanks in advance!

Sarah


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy & Paste Freshman Excel Worksheet Functions 0 November 7th 06 06:07 AM
copy & paste spreadsheet cells from excel to outlook to excel mismarple Excel Discussion (Misc queries) 1 September 20th 05 11:16 PM
Issue with copy & paste? Etrnal168 Excel Discussion (Misc queries) 2 July 12th 05 03:35 AM
Copy and Paste and keep format the same Brian Caraher Excel Discussion (Misc queries) 1 March 17th 05 02:05 PM
Copy & Paste Brian Keanie Excel Discussion (Misc queries) 1 February 5th 05 11:56 AM


All times are GMT +1. The time now is 07:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"