Visual Basic - ORDENAR

Life is soft - evento anual de software empresarial
 
Vista:
sin imagen de perfil

ORDENAR

Publicado por RICAURTEM (313 intervenciones) el 07/07/2006 06:51:59
HOLA QUE TAL, TENGO UN LIGERO PROBLEMA, HE ESTADO PENSANDO Y PENSANDO Y LA VERDAD NO DOY CON ESTO, NECESITO ORDENAR UNA SERIE DE DATOS POR EJEMPLO TENGO ESTO (ESTO VIENE DE UN PROBLEMA EN VBA DE EXCEL EN LOS LISTBOX)

TENGO DOS LISTBOX UNO A LA DERECHA Y OTRO A LA IZQUIERDA

IZQ

G
A
T
O

Y CUANDO MUEVO A LA DERCHA POR EJEMPLO MUEVO

DER

A
O

SI LO MUEVO EN ORDEN APARECE EN ORDEN PERO SI POR EJEMPLO HAGO CLIC EN LA O PRIMERO QUEDA ASI

DER

O
A

Y YO NECESITO QUE ESTE EN EL MISMO ORDEN QUE LO PRESENTO , SI NO ESTA UNA CONDICION QUE SE LA SALTE Y LO PONGA EN EL MISMO ORDEN

IGUAL PASA CUANDO REGRESO TODO, SI LO MUEVO EN DESORDEN REGRESA EN DESORDEN Y ES UN LIO. AYUDA POR FAVOR
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:ORDENAR

Publicado por jose carlos (340 intervenciones) el 07/07/2006 12:14:40
usa la propiedad SORTED

lee la ayuda de VB

saludos
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
sin imagen de perfil

RE:ORDENAR

Publicado por ricaurte (313 intervenciones) el 07/07/2006 15:42:04
BUENO TE INFORMO QUE LA VERDAD EN VBA DE EXCEL, ESA PROPIEDAD NO EXISTE Y SEGUNDO QUE NO QUIERO UN ARREGLO ALFABETICAMENTE, SI NO UN ORDEN DE PALABRAS QUE YO ESTABLESCO POR EJEMPLO UNA LISTA DE PAISES.

PANAMA
GUATEMALA
EL SALVADOR
HODURAS
CUBA

Y ENTONCES SI USO SORTED SE ARREGLARIA POR ORDEN ALFABETICO, YO NECESITO QUE SE ORDENE EN EL MISMO ORDEN QUE LO PONGO, O SEA SI PASO AL LIST DE LA DERECHA SERIA ALGO ASI

GUATEMALA
HODURAS
CUBA
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

RE:ORDENAR

Publicado por manolo (239 intervenciones) el 07/07/2006 19:24:22
Si es para VBA, hay un foro de Visual Basic para Aplicaciones. Pregunta por allí.
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