Si votre email correspond à un compte, vous recevrez un lien de réinitialisation.
Bonjour,j'ai une erreure 1004 dans la fonction suivante à la dernière instruction".Apply" :Sub trimanche1Place()'' trimanche1Place Macro''Dim NbrLignes, IndexLigneNbrLignes = Participants.Range("K10").ValueIndexLigne = 132 - (130 - NbrLignes)Range(Cells(3, 2), Cells(IndexLigne, 8)).Select'Range("B3:H132").SelectActiveWorkbook.Worksheets("Feuilleinscriptions").Sort.SortFields.ClearActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SortFields.AddKey:= _Range(Cells(3, 2), Cells(IndexLigne, 8)), SortOn:=xlSortOnValues,Order:=xlAscending, DataOption _:=xlSortNormalWith ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)).Header = xlGuess.MatchCase = False.Orientation = xlTopToBottom.SortMethod = xlPinYin.ApplyEnd WithEnd SubMerci d'avance
Bonjour, j'ai une erreure 1004 dans la fonction suivante à la dernière instruction ".Apply" : Sub trimanche1Place() ' ' trimanche1Place Macro ' ' Dim NbrLignes, IndexLigne NbrLignes = Participants.Range("K10").Value IndexLigne = 132 - (130 - NbrLignes) Range(Cells(3, 2), Cells(IndexLigne, 8)).Select 'Range("B3:H132").Select ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SortFields.Clear ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SortFields.Add Key:= _ Range(Cells(3, 2), Cells(IndexLigne, 8)), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption _ :=xlSortNormal With ActiveWorkbook.Worksheets("Feuille inscriptions").Sort .SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)) .Header = xlGuess .MatchCase = False .Orientation = xlTopToBottom .SortMethod = xlPinYin .Apply End With End Sub Merci d'avance
Bonjour.En admettant que tu veuilles trier su la colonne B, mets :With ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)).SortFields.Add Key:= _Range(Cells(3, 2), Cells(IndexLigne, 2)),SortOn:=xlSortOnValues,Order:=xlAscending, DataOption _:=xlSortNormal.Header = xlGuess.MatchCase = False.Orientation = xlTopToBottom.SortMethod = xlPinYin.ApplyEnd WithCordialement.Daniel"Christian" a écrit dans le message denews: Bonjour,j'ai une erreure 1004 dans la fonction suivante à la dernièreinstruction ".Apply" :Sub trimanche1Place()'' trimanche1Place Macro''Dim NbrLignes, IndexLigneNbrLignes = Participants.Range("K10").ValueIndexLigne = 132 - (130 - NbrLignes)Range(Cells(3, 2), Cells(IndexLigne, 8)).Select'Range("B3:H132").SelectActiveWorkbook.Worksheets("Feuilleinscriptions").Sort.SortFields.ClearActiveWorkbook.Worksheets("Feuilleinscriptions").Sort.SortFields.AddKey:= _Range(Cells(3, 2), Cells(IndexLigne, 8)),SortOn:=xlSortOnValues,Order:=xlAscending, DataOption _:=xlSortNormalWith ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)).Header = xlGuess.MatchCase = False.Orientation = xlTopToBottom.SortMethod = xlPinYin.ApplyEnd WithEnd SubMerci d'avance
Bonjour,j'ai une erreure 1004 dans la fonction suivante à la dernièreinstruction ".Apply" :Sub trimanche1Place()'' trimanche1Place Macro''Dim NbrLignes, IndexLigneNbrLignes = Participants.Range("K10").ValueIndexLigne = 132 - (130 - NbrLignes)Range(Cells(3, 2), Cells(IndexLigne, 8)).Select'Range("B3:H132").SelectActiveWorkbook.Worksheets("Feuilleinscriptions").Sort.SortFields.ClearActiveWorkbook.Worksheets("Feuilleinscriptions").Sort.SortFields.AddKey:= _Range(Cells(3, 2), Cells(IndexLigne, 8)),SortOn:=xlSortOnValues,Order:=xlAscending, DataOption _:=xlSortNormalWith ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)).Header = xlGuess.MatchCase = False.Orientation = xlTopToBottom.SortMethod = xlPinYin.ApplyEnd WithEnd SubMerci d'avance
Bonjour. En admettant que tu veuilles trier su la colonne B, mets : With ActiveWorkbook.Worksheets("Feuille inscriptions").Sort .SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)) .SortFields.Add Key:= _ Range(Cells(3, 2), Cells(IndexLigne, 2)), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption _ :=xlSortNormal .Header = xlGuess .MatchCase = False .Orientation = xlTopToBottom .SortMethod = xlPinYin .Apply End With Cordialement. Daniel "Christian" <christian.raoux@wanadoo.fr> a écrit dans le message de news: XnF9AF44F30EA39rchristian13@212.27.60.37... Bonjour, j'ai une erreure 1004 dans la fonction suivante à la dernière instruction ".Apply" : Sub trimanche1Place() ' ' trimanche1Place Macro ' ' Dim NbrLignes, IndexLigne NbrLignes = Participants.Range("K10").Value IndexLigne = 132 - (130 - NbrLignes) Range(Cells(3, 2), Cells(IndexLigne, 8)).Select 'Range("B3:H132").Select ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SortFields.Clear ActiveWorkbook.Worksheets("Feuille inscriptions").Sort.SortFields.Add Key:= _ Range(Cells(3, 2), Cells(IndexLigne, 8)), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption _ :=xlSortNormal With ActiveWorkbook.Worksheets("Feuille inscriptions").Sort .SetRange Range(Cells(3, 2), Cells(IndexLigne, 8)) .Header = xlGuess .MatchCase = False .Orientation = xlTopToBottom .SortMethod = xlPinYin .Apply End With End Sub Merci d'avance