Hi guys,
I have a simple problem, or at least i believe its simple.
I have a spreadsheet that helps me to tracks orders. I want to be able to add a bit code to my current VBA script that sorts the data based on the values in a particular column (smallest to largest).
Current table looks like this:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Order Number
[/TD]
[TD]Date
[/TD]
[TD]Quantity
[/TD]
[TD]Colour
[/TD]
[TD]Priority
[/TD]
[/TR]
[TR]
[TD]548562
[/TD]
[TD]12-09-2012
[/TD]
[TD]56
[/TD]
[TD]VBA formula
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]325415
[/TD]
[TD]01-04-2012
[/TD]
[TD]102
[/TD]
[TD]VBA formula
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]012103
[/TD]
[TD]06-10-2012
[/TD]
[TD]12
[/TD]
[TD]VBA formula
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]025486
[/TD]
[TD]26-08-2012
[/TD]
[TD]2
[/TD]
[TD]VBA formula
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]520148
[/TD]
[TD]01-01-2012
[/TD]
[TD]54
[/TD]
[TD]VBA formula
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
I want to add be able to sort the data, smallest to largest based on Column E (tittle Priority)
Any help would be appreciated.
Thanks
I have a simple problem, or at least i believe its simple.
I have a spreadsheet that helps me to tracks orders. I want to be able to add a bit code to my current VBA script that sorts the data based on the values in a particular column (smallest to largest).
Current table looks like this:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Order Number
[/TD]
[TD]Date
[/TD]
[TD]Quantity
[/TD]
[TD]Colour
[/TD]
[TD]Priority
[/TD]
[/TR]
[TR]
[TD]548562
[/TD]
[TD]12-09-2012
[/TD]
[TD]56
[/TD]
[TD]VBA formula
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]325415
[/TD]
[TD]01-04-2012
[/TD]
[TD]102
[/TD]
[TD]VBA formula
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]012103
[/TD]
[TD]06-10-2012
[/TD]
[TD]12
[/TD]
[TD]VBA formula
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]025486
[/TD]
[TD]26-08-2012
[/TD]
[TD]2
[/TD]
[TD]VBA formula
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]520148
[/TD]
[TD]01-01-2012
[/TD]
[TD]54
[/TD]
[TD]VBA formula
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
I want to add be able to sort the data, smallest to largest based on Column E (tittle Priority)
Any help would be appreciated.
Thanks