Recherche Google dans TextBox d'un Userform
Résolu/Fermé
Le_Maniouk
Messages postés
317
Date d'inscription
lundi 25 mars 2013
Statut
Membre
Dernière intervention
20 septembre 2019
-
1 sept. 2016 à 14:36
Le_Maniouk Messages postés 317 Date d'inscription lundi 25 mars 2013 Statut Membre Dernière intervention 20 septembre 2019 - 1 sept. 2016 à 19:01
Le_Maniouk Messages postés 317 Date d'inscription lundi 25 mars 2013 Statut Membre Dernière intervention 20 septembre 2019 - 1 sept. 2016 à 19:01
A voir également:
- Recherche Google dans TextBox d'un Userform
- Google maps satellite - Guide
- Dns google - Guide
- Créer un compte google - Guide
- Google maps - Guide
- Google - Guide
1 réponse
Le_Maniouk
Messages postés
317
Date d'inscription
lundi 25 mars 2013
Statut
Membre
Dernière intervention
20 septembre 2019
158
1 sept. 2016 à 19:01
1 sept. 2016 à 19:01
Bon au final j'ai trouvé. Donc pour ce qui cherche, j'ai créé mon TextBox1 dans mon UserForm. Ensuite j'ai créé mon un bouton de commande puis j'ai collé ça :
1 - Private Sub CommandButton1_Click()
2 - Dim mavar As String
3 - mavar = TextBox1
4 - ActiveCell.Hyperlinks.Add Anchor:=Selection, Address:= _
5 - "https://www.google.fr/webhp?hl=fr&source=hp&gws_rd=ssl" & mavar & "&meta=&aq=f&oq="
6 - ActiveCell.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
End Sub
Voilà ;)
Je suis avec Excel 2016
1 - Private Sub CommandButton1_Click()
2 - Dim mavar As String
3 - mavar = TextBox1
4 - ActiveCell.Hyperlinks.Add Anchor:=Selection, Address:= _
5 - "https://www.google.fr/webhp?hl=fr&source=hp&gws_rd=ssl" & mavar & "&meta=&aq=f&oq="
6 - ActiveCell.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
End Sub
Voilà ;)
Je suis avec Excel 2016