Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select copy and paste

Being a newbie to VBA, I need help in programming a simple task. I want to
select a range of cells in a column, and paste them into the cells of the
adjacent column. The number of cells selected could vary from 1 to 20.

TIA
David


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Select copy and paste

selection.Copy Destination:=Selection.offset(0,1)

--
Regards,
Tom Ogilvy

"David Rose" wrote in message
...
Being a newbie to VBA, I need help in programming a simple task. I want to
select a range of cells in a column, and paste them into the cells of the
adjacent column. The number of cells selected could vary from 1 to 20.

TIA
David




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
Not using select for copy and paste damorrison Excel Discussion (Misc queries) 2 April 8th 07 08:41 PM
Select/Copy/Paste in Macro/VBA Jim Clark Excel Programming 1 September 1st 04 09:34 AM
Select Visible Cells only copy & Paste Kim Excel Programming 2 August 10th 04 03:18 AM
Select File Copy/Paste Macro Help.... Jay Baker Excel Programming 1 January 14th 04 01:01 PM
Select All and copy and paste Ashok[_2_] Excel Programming 7 November 11th 03 03:46 AM


All times are GMT +1. The time now is 06:13 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"