I block certain procedures from running unless a worksheet is sorted in a particular fashion (ex. "Data", "Name", "DOB" etc.). I currently set a variable to hold the sortedby criteria.
Is it possible to add a custom property to worksheets? I think something like:
If mySht.SortedBy = "Data" then
dosomething
EndIf
Would be cleaner. I have attempted to add the property via a class module (Property Let, Get) but have not had any success.
Thanks...
Is it possible to add a custom property to worksheets? I think something like:
If mySht.SortedBy = "Data" then
dosomething
EndIf
Would be cleaner. I have attempted to add the property via a class module (Property Let, Get) but have not had any success.
Thanks...