LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
fullers
 
Posts: n/a
Default Changing the columns to copy

I am trying to write a macro that will copy 3 columns into a new sheet. Once
this is done and I have run the other part of my macro I want it to go back
and copy another 3 columns. I always want to copy column "A" each time. The
1st time I want "A,B,C" then columns "A,D,E". "A,F,G" etc.

Currently I have:

Sheets("SBS Graphs - Main").Select
Range("A:A, B:B, C:C").Select
Range("C1").Activate
Selection.Copy
Sheets("Test").Select
Range("A1").Select
ActiveSheet.Paste

<remaining macro

which I have been copying.

How do I get the macro so it changes the column reference for the last 2?

Thanks
 
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
reminder notifications in a column L Mieth Excel Discussion (Misc queries) 6 June 10th 05 11:00 AM
columns changing to numbers Pablo Excel Discussion (Misc queries) 2 March 4th 05 10:59 PM
Unable to Copy COUNTA() with cell references EugenioB Excel Worksheet Functions 1 February 16th 05 01:07 PM
copy COLUMN from 1 worksheet to another (in a different workbook) DavidB Excel Discussion (Misc queries) 3 January 15th 05 02:47 PM
Counting the Contents of Two Columns Molochi Excel Discussion (Misc queries) 6 December 22nd 04 08:13 PM


All times are GMT +1. The time now is 02:33 PM.

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

About Us

"It's about Microsoft Excel"