Let me see if I understand. A7-A#### has information that will be untouched.
First: the sort: the first 6 rows and 4 columns you want to sort. alphabetically. each cell? or each row? if each cell, vertically then horizontally? as in: Alpha Golf Mike Sierra Bravo hotel November Tango Charlie India Oscar Uniform Delta Juliet Papa Victor Echo Kilo Quebec Whiskey Foxtrot Lima Romeo Xray or Alpha Bravo Charlie Delta Echo Foxtrot Golf hotel India Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tango Uniform Victor Whiskey Xray ?? Now, "Periodically, Information is added to the top row of the array portion of this configuration whereby everything is shifted down" but you said row 7 stays the same. What happens to the "extra" data? can you give an example of starting values, information added, and what it should look like when the sort is complete? thanks. Paul ________________________________ From: Tommy <[email protected]> To: MS EXCEL AND VBA MACROS <[email protected]> Sent: Wed, December 16, 2009 10:53:17 AM Subject: $$Excel-Macros$$ Sorting Data I have a rectangular array, A1 through D6 for example, of contiguous cells where each cell contains a word. Additional information is contained in column A, beginning at row 7 and extending downward for some number of cells, Periodically, Information is added to the top row of the array portion of this configuration whereby everything is shifted down, i.e. new data is always found in the first row. Within a macro I would like to be able to select the rectangular portion of the array and alphabetize the information contained in it, leaving the data in column A7 and beyond unaffected by the sort. Row A is the only column to contain data beneath the rectangular array. Is it possible to do this? -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to [email protected] If you find any spam message in the group, please send an email to: Ayush Jain @ [email protected] or Ashish Jain @ [email protected] <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to [email protected] If you find any spam message in the group, please send an email to: Ayush Jain @ [email protected] or Ashish Jain @ [email protected] <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe
