Sort in VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-3535137%22%20slang%3D%22en-US%22%3ESort%20in%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3535137%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20sort%20the%20defined%20range%20in%20VBA%3C%2FP%3E%3CP%3Ewhere%20one%20input%20box%20will%20be%20there%20which%20will%20store%20whether%20the%20data%20has%20to%20be%20sorted%20in%20ascending%20or%20descending%20order%20as%20per%20user%20selection%20and%20accordingly%20the%20sort%20will%20happen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3535137%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESelf-paced%20learning%20path%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hi,

 

I want to sort the defined range in VBA

where one input box will be there which will store whether the data has to be sorted in ascending or descending order as per user selection and accordingly the sort will happen.

 

0 Replies