Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have large amounts of imported data that I would like to separate onto indivual tabs based on the header name. Is there a non-manual way to do so? Thanks, Amanda |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test()
Set oldsht = ActiveSheet ColCount = 1 Do While oldsht.Cells(1, ColCount) < "" Worksheets.Add after:=Sheets(Sheets.Count) ActiveSheet.Name = oldsht.Cells(1, ColCount).Value Set newsht = ActiveSheet oldsht.Columns(ColCount).Copy _ Destination:=newsht.Columns("A:A") ColCount = ColCount + 1 Loop End Sub "amanda" wrote: Hello, I have large amounts of imported data that I would like to separate onto indivual tabs based on the header name. Is there a non-manual way to do so? Thanks, Amanda |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
move text & numbers in column to separate columns | Excel Discussion (Misc queries) | |||
Move worksheets into separate workbooks | New Users to Excel | |||
Linking columns in separate worksheets | Excel Discussion (Misc queries) | |||
I wish to separate city, state, and zip into 3 separate columns | Excel Worksheet Functions | |||
Save 2 separate data imports in separate worksheets on the same ex | Excel Worksheet Functions |