#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Sorting

Thanks for the info.
Does you know of another way in which to determine the current sort
settings?

Jill E
"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Jill,

AFAIK, the sort method doesn't have any user readable properties.

HTH,
Bernie
MS Excel MVP

"Jill E" wrote in message
.. .
Hi,

I'm trying to pass the values/contents of key1 and key2 from the sort

method
to separate variables. Essentially I am trying to check the sort

parameters,
replace the data with an updated dataset, and then reinstate the sort.

I'm
not actually trying to sort, just check the current sort

characteristics!

So I tried to pass the contents of key1 and key2 to variables as show

below:

With Selection.Sort
vkey1 = .key1
vkey2 = .key2
End With

Unfortunately I got an "Unable to get the Sort property of the Range

class."
error.

Could someone please help!

Thanks,

Jill E






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
Sorting Values Without Sorting Formulas SBX Excel Discussion (Misc queries) 2 April 12th 09 11:17 PM
Automatic sorting (giving max and min) based on custom sorting lis Joe Lewis[_2_] Excel Worksheet Functions 4 November 23rd 08 05:12 AM
Sorting VLookup vs Sorting SumProduct Lauren Excel Discussion (Misc queries) 1 August 21st 07 12:19 AM
Sorting: Sorting by the First Character dzuy Excel Discussion (Misc queries) 2 June 22nd 06 08:27 PM
Sorting ListBox results or transposing ListBox values to other cells for sorting Rob[_8_] Excel Programming 1 July 9th 03 04:35 AM


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