I get an runtime error "Method 'Sort' of IMSHFlexgid failed" using the following code. I have used this in another project and it worked there. What am I missing here?
Code:.SelectionMode = flexSelectionByColumn .Col = 0 .ColSel = 0 .Row = 1 .RowSel = .Rows - 1 .Sort = flexSortStringAscending




Reply With Quote