Lien hypertexte dans listbox

bigben42 Messages postés 6 Date d'inscription jeudi 30 juin 2011 Statut Membre Dernière intervention 29 juillet 2011 - 27 juil. 2011 à 09:39
NHenry Messages postés 15112 Date d'inscription vendredi 14 mars 2003 Statut Modérateur Dernière intervention 13 avril 2024 - 27 juil. 2011 à 21:35
Bonjour, j'ai fait une userform sur laquelle se trouve une listbox qui se remplis de la manière suivante :
For Each Cell In Sheets("Matrice").Range(Sheets("Matrice").[C4], Sheets("Matrice").[C65536].End(xlUp))
        If Cell.Value = UserForm3.TextBox1.Text Then
        
            If Sheets("Matrice").Cells(Cell.Row, 108).Value <> "" Then
            UserForm3.ListBox3.AddItem Sheets("Matrice").Cells(Cell.Row, 1)
            End If
            
            If Sheets("Matrice").Cells(Cell.Row, 114).Value <> "" Then
            UserForm3.ListBox3.AddItem Sheets("Matrice").Cells(Cell.Row, 1)
            End If
            
            If Sheets("Matrice").Cells(Cell.Row, 120).Value <> "" Then
            UserForm3.ListBox3.AddItem Sheets("Matrice").Cells(Cell.Row, 1)
            End If
            
            If Sheets("Matrice").Cells(Cell.Row, 126).Value <> "" Then
            UserForm3.ListBox3.AddItem Sheets("Matrice").Cells(Cell.Row, 1)
            End If
             
        Else
        End If
     Next Cell



Mon soucis est que dans mon excel cette colonne (A) est remplie de lien hypertext et j'aimerais savoir s'il est possible de retrouver ces liens hypertextes dans ma listbox3.

Merci d'avance.

1 réponse

NHenry Messages postés 15112 Date d'inscription vendredi 14 mars 2003 Statut Modérateur Dernière intervention 13 avril 2024 159
27 juil. 2011 à 21:35
Bonjour,

Tu es en VBA, pas VB.NET, je déplace.
A ma connaissance, ce n'est pas possible.

0
Rejoignez-nous