Copying many columns into one column
Hello everyone, I have Lastname, Firstname information in the cell ranges below in a spreadsheet named "Position Control."
A9:A38 C9:C38 E9:E38 G9:G38 I9:I38 MK9:K38 M9:M38 O9:O38 Q9:Q38 S9:S38 Not every cell in the above range is utilized. Some ranges may have 5 names in it. Another may have 12 names and so on. The question is how can I get the data from each of these ranges copied into column A of spreadsheet "Team Members" and sorted alphabetically? The end result of Column A in spreadsheet "Team Members" is one long list of Lastname, Firstnames. After that operation is complete I would like to do something to lock the Position Control spreadsheet so the names cannot be changed. Thank you very much. |
Copying many columns into one column
|
Copying many columns into one column
Thanks Claus,
It threw an error with this line of code: ..Range("A:A").Sort key1:=.Range("A1"), order1:=xlAscending, Header:=xlNo |
Copying many columns into one column
Hi John,
Am Thu, 16 Nov 2017 13:20:01 -0800 (PST) schrieb : It threw an error with this line of code: .Range("A:A").Sort key1:=.Range("A1"), order1:=xlAscending, Header:=xlNo that must be in one line. Try it this way: ..Range("A:A").Sort key1:=.Range("A1"), order1:=xlAscending, _ Header:=xlNo Regards Claus B. -- Windows10 Office 2016 |
All times are GMT +1. The time now is 11:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com