LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Sort cell values of different columns

Using Data/Sort/ one can choose upto 3 columns to sort values. I need the
same functionality to be achieved by coding. Reason, when I use the menu
Data/Sort, I get an error message stating that '

"This Operation requires the merged cells to be identically sized."

Since the columns can't be of same size because of macro used in the last
cell to wrap the text, coding is the way to achieve the object. Can one write
the code for this.
Column B(general) , column C(text) and Column D(text) &E(numeric).
The sort has start at col B, then C, D and E all ascending. It should change
the row data which goes upto column Z.
Thanks,
murthy
 
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
how to compare/sort values in two columns of two worksheets? pemt Excel Discussion (Misc queries) 4 January 21st 09 10:22 PM
Formula and values stay with row/cell after sort Margo Excel Worksheet Functions 0 November 5th 07 02:37 PM
How do I match identical values in 2 columns and then sort? Godswatch Excel Discussion (Misc queries) 1 November 9th 05 06:55 PM
sort columns within a merged cell header Diana Excel Discussion (Misc queries) 1 August 4th 05 11:03 PM
Sort cell values Markus Serbel Excel Programming 4 November 24th 03 05:15 PM


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