titibobo2
Messages postés46Date d'inscriptiondimanche 27 février 2005StatutMembreDernière intervention28 novembre 2007
-
26 mars 2005 à 14:40
titibobo2
Messages postés46Date d'inscriptiondimanche 27 février 2005StatutMembreDernière intervention28 novembre 2007
-
28 mars 2005 à 11:59
Bonjour,
comment faire pour afficher la longtitude et la latitude lorsque je choisi le ville dans la liste déroulante.
titibobo2
Messages postés46Date d'inscriptiondimanche 27 février 2005StatutMembreDernière intervention28 novembre 2007 28 mars 2005 à 11:59
résolu :
Private Sub UserForm_Initialize()
Dim L
L = Sheets(1).Range("A65536").End(xlUp).Row
With Me
With .Cbville
.ColumnCount = 1
.RowSource = "villeliste!A2:D" & L
.MatchEntry = fmMatchEntryFirstLetter
End With
End With
End Sub
Private Sub cbville_Change()
With Me
.lati = .Cbville.Column(1, .Cbville.ListIndex)
.longi = .Cbville.Column(2, .Cbville.ListIndex)
.codep = .Cbville.Column(3, .Cbville.ListIndex)
End With
End Sub