Using the Sort ability of Excel I would like to plug in the Active Cells into the Range rather than a hardcoded number or cell
So instead of
I would like the ranges to be the active selection![]()
Please Login or Register to view this content.
Like ActiveWorkbook.Worksheets("Schedule").Sort.SortFields.Add Key:=Range("SELECTION"), SortOn:=xlSortOnValues, Order:=xlAscending,
If this is unclear then you can look at all my code below (Yes Segment 1 works but I needs to be rewritten also to account for added rows)
![]()
Please Login or Register to view this content.
Bookmarks