Excel - DE MENOR A MAYOR

 
Vista:

DE MENOR A MAYOR

Publicado por sergio.villas (13 intervenciones) el 10/01/2008 22:28:59
TENGO UN DETALLE COMO LE PUEDO HACER PARA QUE EN UNA LISTA DE REGISTRO ME LOS ALINIE DE MAYOR A MENOR SIN USAR EL MENU DE DATOS Y SORTEAR . EL CASO ES EL SIGUIENTE TENGO UNA LISTA DE 10 REGISTRO Y CADA REGISTRO TIENE SU VALOR PERO CADA DIA VAN CAMBIANDO Y NECESITO QUE EN OTRA HOJA SE VAYAN COLOCANDO DE MAYOR A MENOR COMO LE HAGO AYUDA
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:DE MENOR A MAYOR

Publicado por Javier R. (37 intervenciones) el 11/01/2008 18:06:32
Esta macro tal vez pueda ayudarte, solo modifícala para que cuadre con lo que necesitas, pero básicamente copia los datos de la hoja1 y los pega en orden descendente en la hoja2.
Ojalá te sirva.
Saludos,
Javier R.

Sub Macro1()

' Acceso directo: CTRL+s

Sheets("Hoja1").Select
Range("A1:B1").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("Hoja2").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
Selection.Sort Key1:=Range("B2"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Range("C1").Select
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar