F
FISH
Hello all,
I have a spreadsheet where I have 6 different sets of data that need to be
sorted often. This data changes often so I want to do this via a button
users can simply click on to sort.
Someone here helped me add the buttons and assign a macro to do the sorting
and things work fine as long as the spreadsheet stays as is. The problem we
couldn't overcome was things go wrong when I have to add or delete some rows
within the set of data.
For example:
I've assigned a macro to a button to sort R58 down to R77 and things work
fine. But, when I delete Rows 67, 68, 69, and 70 and click the button,
things get all messed up. The macro is still assigned to sort the same set
of data between R58-R77 even though 4 rows have been deleted and in order to
sort the same data it should only now sort R58-R73.
Does anyone know of a way this can work after deleting or adding new rows?
Or if there was a way to assign a function to a specific cell to do the
sorting when clicked on, that would work also.
Thanks in advance for any help.
I have a spreadsheet where I have 6 different sets of data that need to be
sorted often. This data changes often so I want to do this via a button
users can simply click on to sort.
Someone here helped me add the buttons and assign a macro to do the sorting
and things work fine as long as the spreadsheet stays as is. The problem we
couldn't overcome was things go wrong when I have to add or delete some rows
within the set of data.
For example:
I've assigned a macro to a button to sort R58 down to R77 and things work
fine. But, when I delete Rows 67, 68, 69, and 70 and click the button,
things get all messed up. The macro is still assigned to sort the same set
of data between R58-R77 even though 4 rows have been deleted and in order to
sort the same data it should only now sort R58-R73.
Does anyone know of a way this can work after deleting or adding new rows?
Or if there was a way to assign a function to a specific cell to do the
sorting when clicked on, that would work also.
Thanks in advance for any help.