Public Sub trieAlpha(wb As Workbook, col As Integer)
Range(Cells(4, col), Cells(43, col)).Select
wb.Worksheets("Salarie").Sort.SortFields.Clear
wb.Worksheets("Salarie").Sort.SortFields.Add Key:=Range(Cells(4, col)), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
mon erreur s'effectue sur la dernière fonction.
je ne comprend pas l'erreur mis à part que je sais qu'elle provient de mon Range(cells(4,col))
de plus que signifie cette erreur?
Merci d'avance