Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Sorting range multiple areas

See one more reply at your other post.

VJ wrote:

Hi

I have a range which could be of different area selections.

For example rng1 address could be $A$37:$D$38 or $A$25:$D$26,$A$43:$D$47 or

$A$48:$D$49,$A$57:$D$57,$A$63:$D$63.

I gets the error when there are multiple areas such as $A$25:$D$26,$A$43:$D$47
but its works fine where are only one area such as $A$25:$D$26.
The error msg I get "The command you
chose cannot be performed with multiple selection. Select a single range and
click the command again"

Can somebody help me out to write a generic VBA macro to sort the range
according to column 1?

Help would really be appreciated.

In my previous posting, I didnt get my answer but by mistake i pressed Yes
btn, Sorry for that.

Thanks and regards,


--

Dave Peterson

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
Multiple plot areas Katie Charts and Charting in Excel 1 November 16th 05 10:35 PM
Multiple Print areas in same sheet? Enzo Excel Discussion (Misc queries) 4 August 29th 05 07:58 PM
Set Multiple Print Areas James Hamilton Excel Discussion (Misc queries) 1 June 22nd 05 06:03 AM
Sorting range with areas VJ Excel Programming 2 August 12th 04 03:16 AM
Sorting range multiple areas No Name Excel Programming 0 August 11th 04 05:02 PM


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