Hi all,
I am trying to perform an auto-sort of a table using VB, where the table is dynamic using formulae rather than hard-coded data that is static.
The table range is J3:R7 with row 3 being the table headers. When data is input, I need the table to update and sort based on the the updated formulae, with the sort precedent being column R (descending), column Q (descending) then column O (descending).
Can anyone supply the full code needed for this dynamic sort and include the command needed to automatically run the macro every 30 seconds, so I don't have to keep running the macro manually?
If it makes a difference, the input cells which the table formulae depends on, are on the same worksheet
Thanks,
J
I am trying to perform an auto-sort of a table using VB, where the table is dynamic using formulae rather than hard-coded data that is static.
The table range is J3:R7 with row 3 being the table headers. When data is input, I need the table to update and sort based on the the updated formulae, with the sort precedent being column R (descending), column Q (descending) then column O (descending).
Can anyone supply the full code needed for this dynamic sort and include the command needed to automatically run the macro every 30 seconds, so I don't have to keep running the macro manually?
If it makes a difference, the input cells which the table formulae depends on, are on the same worksheet
Thanks,
J