Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default merge columns into single report - macro needed

I need to build a macro to take COL 1 COL 2 etc and created new
worksheet with these columns using a macro. please help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default merge columns into single report - macro needed

Public Sub Test()
Columns("A:B").Copy
Worksheets.Add
ActiveSheet.Paste
End Sub


--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"aquaflow" wrote in message
oups.com...
I need to build a macro to take COL 1 COL 2 etc and created new
worksheet with these columns using a macro. please help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default merge columns into single report - macro needed

On Jan 31, 8:18 am, "Bob Phillips" wrote:
Public Sub Test()
Columns("A:B").Copy
Worksheets.Add
ActiveSheet.Paste
End Sub


Bob,

how do i change if the columns are different like COL2 COL5 COL7 COL9
COL12. and rename the sheet to a new name once i do this.

Thanks
--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"aquaflow" wrote in message

oups.com...

I need to build a macro to take COL 1 COL 2 etc and created new
worksheet with these columns using a macro. please help



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
Macro Help (Uppercase multiple ranges?) Ken Excel Discussion (Misc queries) 14 December 2nd 06 07:23 PM
Macro help needed CLR Excel Discussion (Misc queries) 0 November 30th 06 03:23 PM
SUMPRODUCT Help Ellie Excel Discussion (Misc queries) 8 September 15th 06 03:56 PM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
merge data from multiple columns to single column triggerthehorse Excel Worksheet Functions 2 January 17th 05 07:19 PM


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