Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have recorded a macro which would help me to sort a list of data. First, when I have done with the recording, I found out that the range of the data list is being hard coded in the marco, for example, Range("A1:F30").Sort ....... But what happen is I may have different ranges of lists! Sometimes, the list may be shorten then the previous one but sometimes may be longer then. So, I tried to replace the fixed range with a Range Object variable; but it doesn't work and the system generated a debug!!! How actually to solve this problem???? Please advise........ Thanking in advance!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sorting range | Excel Discussion (Misc queries) | |||
Sorting by range | New Users to Excel | |||
Sorting a Range | Excel Discussion (Misc queries) | |||
sorting a range | Excel Programming | |||
Sorting multiple range using a macro | Excel Programming |