Niouzes.org  

Précédent   Niouzes.org > Forum > Newsgroup microsoft.public.fr.* 1 Forum > Newsgroup microsoft.public.fr.excel
S'inscrire FAQ Membres Calendrier Recherche Messages du jour Marquer les forums comme lus



Réponse

 

LinkBack Outils de la discussion Modes d'affichage
  #1 (permalink)  
Vieux 12/04/2008, 09h57
Jean-Paul V
 
Messages: n/a
Par défaut Range(RangeChoisi).Select

Bonjour Ã*** tous,

Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2 cellules que
j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai le nom
du champ où je veux aller .
Dim RangeChoisi As String
….
Range("Nom").Value = [Rg].Name.Name
Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
RangeChoisi = Range("DESTINATION").Value

Pourquoi aucune des 2 instructions qui suivent ne marche ?

Range(RangeChoisi).Select
Application.Goto Reference:=[Range("DESTINATION").Value ], Scroll:=True

Comment les corriger,je tourne en rond et j’ai du jardinage Ã*** faire…?

***+ j’espère

--
Jean-Paul V
Réponse avec citation
Alt Today
Advertising
Google Adsense
 
This advertising will not be shown
in this way to registered members.
Register your free account today
and become a member on
Niouzes.org
Standard Sponsored Links

  #2 (permalink)  
Vieux 12/04/2008, 12h51
Philippe.R
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Bonjour,
chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant une
cellule nommée DESTINATION :

Range([DESTINATION]).Select

--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
> Bonjour Ã*** tous,
>
> Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2 cellules que
> j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai le
> nom
> du champ où je veux aller .
> Dim RangeChoisi As String
> ….
> Range("Nom").Value = [Rg].Name.Name
> Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> RangeChoisi = Range("DESTINATION").Value
>
> Pourquoi aucune des 2 instructions qui suivent ne marche ?
>
> Range(RangeChoisi).Select
> Application.Goto Reference:=[Range("DESTINATION").Value ], Scroll:=True
>
> Comment les corriger,je tourne en rond et j’ai du jardinage Ã*** faire…?
>
> ***+ j’espère
>
> --
> Jean-Paul V


Réponse avec citation
  #3 (permalink)  
Vieux 12/04/2008, 16h00
Jean-Paul V
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Bonjour Philippe
Chez moi votre solution se plante (Excel 2000) erreur 1004 la methode Range
de l'objet_ Global a échoué
Pour faire le teste j'ai effacé le contenu de Nom et DESTINATION
Puis j'ai éxécuté la macro

Sub RetourMenu()
Dim c As Range, Noms As Range, Nom As Range, TABLE As Range,
DESTINATION As Range
With Sheets("Fonctions")
Set Noms = .[IMPRESSIONS].Resize(, 1)
For Each c In Noms
If Left(c.Offset(, 1), 11) = "=Procédure!" Then
If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
Set Rg = Range(c.Value)
Exit For
End If
End If
Next c
Range("Nom").Value = [Rg].Name.Name
Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
Range([DESTINATION]).Select
End With
End Sub

Dans DESTINATION j'ai MENU mais votre Range([DESTINATION]).Select se plante
au lieu d'aller Ã*** MENU et MENU existe j'ai vérifié ???
--
Jean-Paul V


"Philippe.R" wrote:

> Bonjour,
> chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant une
> cellule nommée DESTINATION :
>
> Range([DESTINATION]).Select
>
> --
> Avec plaisir
> http://dj.joss.free.fr/trombine.htm
> http://jacxl.free.fr/mpfe/trombino.html
> Philippe.R
> Pour se connecter au forum :
> http://www.excelabo.net/mpfe/connexion.php
> News://news.microsoft.com/microsoft.public.fr.excel
> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
> de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
> > Bonjour Ã*** tous,
> >
> > Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2 cellules que
> > j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai le
> > nom
> > du champ où je veux aller .
> > Dim RangeChoisi As String
> > ….
> > Range("Nom").Value = [Rg].Name.Name
> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> > RangeChoisi = Range("DESTINATION").Value
> >
> > Pourquoi aucune des 2 instructions qui suivent ne marche ?
> >
> > Range(RangeChoisi).Select
> > Application.Goto Reference:=[Range("DESTINATION").Value ], Scroll:=True
> >
> > Comment les corriger,je tourne en rond et j’ai du jardinage Ã*** faire…?
> >
> > ***+ j’espère
> >
> > --
> > Jean-Paul V

>
>

Réponse avec citation
  #4 (permalink)  
Vieux 13/04/2008, 08h54
Philippe.R
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Bonjour,
Peux tu publier ici, via cjoint, au moins un extrait du classeur
reproduisant le contexte ?
--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
de news:957F911A-2180-4D72-92FF-D6FC7A946CF6***microsoft.com...
> Bonjour Philippe
> Chez moi votre solution se plante (Excel 2000) erreur 1004 la methode
> Range
> de l'objet_ Global a échoué
> Pour faire le teste j'ai effacé le contenu de Nom et DESTINATION
> Puis j'ai éxécuté la macro
>
> Sub RetourMenu()
> Dim c As Range, Noms As Range, Nom As Range, TABLE As Range,
> DESTINATION As Range
> With Sheets("Fonctions")
> Set Noms = .[IMPRESSIONS].Resize(, 1)
> For Each c In Noms
> If Left(c.Offset(, 1), 11) = "=Procédure!" Then
> If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
> Set Rg = Range(c.Value)
> Exit For
> End If
> End If
> Next c
> Range("Nom").Value = [Rg].Name.Name
> Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> Range([DESTINATION]).Select
> End With
> End Sub
>
> Dans DESTINATION j'ai MENU mais votre Range([DESTINATION]).Select se
> plante
> au lieu d'aller Ã*** MENU et MENU existe j'ai vérifié ???
> --
> Jean-Paul V
>
>
> "Philippe.R" wrote:
>
>> Bonjour,
>> chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant une
>> cellule nommée DESTINATION :
>>
>> Range([DESTINATION]).Select
>>
>> --
>> Avec plaisir
>> http://dj.joss.free.fr/trombine.htm
>> http://jacxl.free.fr/mpfe/trombino.html
>> Philippe.R
>> Pour se connecter au forum :
>> http://www.excelabo.net/mpfe/connexion.php
>> News://news.microsoft.com/microsoft.public.fr.excel
>> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
>> message
>> de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
>> > Bonjour Ã*** tous,
>> >
>> > Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2 cellules
>> > que
>> > j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai le
>> > nom
>> > du champ où je veux aller .
>> > Dim RangeChoisi As String
>> > ….
>> > Range("Nom").Value = [Rg].Name.Name
>> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
>> > RangeChoisi = Range("DESTINATION").Value
>> >
>> > Pourquoi aucune des 2 instructions qui suivent ne marche ?
>> >
>> > Range(RangeChoisi).Select
>> > Application.Goto Reference:=[Range("DESTINATION").Value ], Scroll:=True
>> >
>> > Comment les corriger,je tourne en rond et j’ai du jardinage Ã*** faire…?
>> >
>> > ***+ j’espère
>> >
>> > --
>> > Jean-Paul V

>>
>>


Réponse avec citation
  #5 (permalink)  
Vieux 13/04/2008, 16h33
Jean-Paul V
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Bonjour,
http://cjoint.com/?enrz1Tqeu5
Dans le fichier j'ai laissé tout les noms de champ mais je me suis contenté
d'effacer le contenu des cellule.J'espère que cela nous vous gênera pas pour
la compréhension du fichier
***+ j'espère
--
Jean-Paul V


"Philippe.R" wrote:

> Bonjour,
> Peux tu publier ici, via cjoint, au moins un extrait du classeur
> reproduisant le contexte ?
> --
> Avec plaisir
> http://dj.joss.free.fr/trombine.htm
> http://jacxl.free.fr/mpfe/trombino.html
> Philippe.R
> Pour se connecter au forum :
> http://www.excelabo.net/mpfe/connexion.php
> News://news.microsoft.com/microsoft.public.fr.excel
> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
> de news:957F911A-2180-4D72-92FF-D6FC7A946CF6***microsoft.com...
> > Bonjour Philippe
> > Chez moi votre solution se plante (Excel 2000) erreur 1004 la methode
> > Range
> > de l'objet_ Global a échoué
> > Pour faire le teste j'ai effacé le contenu de Nom et DESTINATION
> > Puis j'ai éxécuté la macro
> >
> > Sub RetourMenu()
> > Dim c As Range, Noms As Range, Nom As Range, TABLE As Range,
> > DESTINATION As Range
> > With Sheets("Fonctions")
> > Set Noms = .[IMPRESSIONS].Resize(, 1)
> > For Each c In Noms
> > If Left(c.Offset(, 1), 11) = "=Procédure!" Then
> > If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
> > Set Rg = Range(c.Value)
> > Exit For
> > End If
> > End If
> > Next c
> > Range("Nom").Value = [Rg].Name.Name
> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> > Range([DESTINATION]).Select
> > End With
> > End Sub
> >
> > Dans DESTINATION j'ai MENU mais votre Range([DESTINATION]).Select se
> > plante
> > au lieu d'aller Ã*** MENU et MENU existe j'ai vérifié ???
> > --
> > Jean-Paul V
> >
> >
> > "Philippe.R" wrote:
> >
> >> Bonjour,
> >> chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant une
> >> cellule nommée DESTINATION :
> >>
> >> Range([DESTINATION]).Select
> >>
> >> --
> >> Avec plaisir
> >> http://dj.joss.free.fr/trombine.htm
> >> http://jacxl.free.fr/mpfe/trombino.html
> >> Philippe.R
> >> Pour se connecter au forum :
> >> http://www.excelabo.net/mpfe/connexion.php
> >> News://news.microsoft.com/microsoft.public.fr.excel
> >> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
> >> message
> >> de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
> >> > Bonjour Ã*** tous,
> >> >
> >> > Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2 cellules
> >> > que
> >> > j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai le
> >> > nom
> >> > du champ où je veux aller .
> >> > Dim RangeChoisi As String
> >> > ….
> >> > Range("Nom").Value = [Rg].Name.Name
> >> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> >> > RangeChoisi = Range("DESTINATION").Value
> >> >
> >> > Pourquoi aucune des 2 instructions qui suivent ne marche ?
> >> >
> >> > Range(RangeChoisi).Select
> >> > Application.Goto Reference:=[Range("DESTINATION").Value ], Scroll:=True
> >> >
> >> > Comment les corriger,je tourne en rond et j’ai du jardinage Ã*** faire…?
> >> >
> >> > ***+ j’espère
> >> >
> >> > --
> >> > Jean-Paul V
> >>
> >>

>
>

Réponse avec citation
  #6 (permalink)  
Vieux 13/04/2008, 17h09
Philippe.R
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Bonsoir Jean-Paul

Fais le test chez toi avec ceci :

Sub essai()
Sheets("Menus").Activate
Range([DESTINATION]).Select
End Sub

qui semble montrer que ta macro devrait rouler en ajoutant la ligne :

Sheets("Menus").Activate

et se retrouver ainsi :

Sub RetourMenu()
Dim c As Range, Noms As Range, Nom As Range, TABLE As Range, DESTINATION As
Range
With Sheets("Fonctions")
Set Noms = .[IMPRESSIONS].Resize(, 1)
For Each c In Noms
If Left(c.Offset(, 1), 11) = "=Procédure!" Then
If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
Set Rg = Range(c.Value)
Exit For
End If
End If
Next c
Range("Nom").Value = [Rg].Name.Name
Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
End With
Sheets("Menus").Activate
Range([DESTINATION]).Select
End Sub

--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
de news:0B493881-08BD-42FE-91AB-A7240F31DCAD***microsoft.com...
> Bonjour,
> http://cjoint.com/?enrz1Tqeu5
> Dans le fichier j'ai laissé tout les noms de champ mais je me suis
> contenté
> d'effacer le contenu des cellule.J'espère que cela nous vous gênera pas
> pour
> la compréhension du fichier
> ***+ j'espère
> --
> Jean-Paul V
>
>
> "Philippe.R" wrote:
>
>> Bonjour,
>> Peux tu publier ici, via cjoint, au moins un extrait du classeur
>> reproduisant le contexte ?
>> --
>> Avec plaisir
>> http://dj.joss.free.fr/trombine.htm
>> http://jacxl.free.fr/mpfe/trombino.html
>> Philippe.R
>> Pour se connecter au forum :
>> http://www.excelabo.net/mpfe/connexion.php
>> News://news.microsoft.com/microsoft.public.fr.excel
>> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
>> message
>> de news:957F911A-2180-4D72-92FF-D6FC7A946CF6***microsoft.com...
>> > Bonjour Philippe
>> > Chez moi votre solution se plante (Excel 2000) erreur 1004 la methode
>> > Range
>> > de l'objet_ Global a échoué
>> > Pour faire le teste j'ai effacé le contenu de Nom et DESTINATION
>> > Puis j'ai éxécuté la macro
>> >
>> > Sub RetourMenu()
>> > Dim c As Range, Noms As Range, Nom As Range, TABLE As Range,
>> > DESTINATION As Range
>> > With Sheets("Fonctions")
>> > Set Noms = .[IMPRESSIONS].Resize(, 1)
>> > For Each c In Noms
>> > If Left(c.Offset(, 1), 11) = "=Procédure!" Then
>> > If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
>> > Set Rg = Range(c.Value)
>> > Exit For
>> > End If
>> > End If
>> > Next c
>> > Range("Nom").Value = [Rg].Name.Name
>> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
>> > Range([DESTINATION]).Select
>> > End With
>> > End Sub
>> >
>> > Dans DESTINATION j'ai MENU mais votre Range([DESTINATION]).Select se
>> > plante
>> > au lieu d'aller Ã*** MENU et MENU existe j'ai vérifié ???
>> > --
>> > Jean-Paul V
>> >
>> >
>> > "Philippe.R" wrote:
>> >
>> >> Bonjour,
>> >> chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant
>> >> une
>> >> cellule nommée DESTINATION :
>> >>
>> >> Range([DESTINATION]).Select
>> >>
>> >> --
>> >> Avec plaisir
>> >> http://dj.joss.free.fr/trombine.htm
>> >> http://jacxl.free.fr/mpfe/trombino.html
>> >> Philippe.R
>> >> Pour se connecter au forum :
>> >> http://www.excelabo.net/mpfe/connexion.php
>> >> News://news.microsoft.com/microsoft.public.fr.excel
>> >> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
>> >> message
>> >> de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
>> >> > Bonjour Ã*** tous,
>> >> >
>> >> > Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2
>> >> > cellules
>> >> > que
>> >> > j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai
>> >> > le
>> >> > nom
>> >> > du champ où je veux aller .
>> >> > Dim RangeChoisi As String
>> >> > ….
>> >> > Range("Nom").Value = [Rg].Name.Name
>> >> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
>> >> > RangeChoisi = Range("DESTINATION").Value
>> >> >
>> >> > Pourquoi aucune des 2 instructions qui suivent ne marche ?
>> >> >
>> >> > Range(RangeChoisi).Select
>> >> > Application.Goto Reference:=[Range("DESTINATION").Value ],
>> >> > Scroll:=True
>> >> >
>> >> > Comment les corriger,je tourne en rond et j’ai du jardinage Ã***
>> >> > faire…?
>> >> >
>> >> > ***+ j’espère
>> >> >
>> >> > --
>> >> > Jean-Paul V
>> >>
>> >>

>>
>>


Réponse avec citation
  #7 (permalink)  
Vieux 13/04/2008, 19h09
Jean-Paul V
 
Messages: n/a
Par défaut Re: Range(RangeChoisi).Select

Merci Philippe

Bizarrement la macro essai marche, mais si je complète la macro ça marche
pas donc j'appelle essai et lÃ*** ça tourne merci encore !!!
--
Jean-Paul V


"Philippe.R" wrote:

> Bonsoir Jean-Paul
>
> Fais le test chez toi avec ceci :
>
> Sub essai()
> Sheets("Menus").Activate
> Range([DESTINATION]).Select
> End Sub
>
> qui semble montrer que ta macro devrait rouler en ajoutant la ligne :
>
> Sheets("Menus").Activate
>
> et se retrouver ainsi :
>
> Sub RetourMenu()
> Dim c As Range, Noms As Range, Nom As Range, TABLE As Range, DESTINATION As
> Range
> With Sheets("Fonctions")
> Set Noms = .[IMPRESSIONS].Resize(, 1)
> For Each c In Noms
> If Left(c.Offset(, 1), 11) = "=Procédure!" Then
> If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
> Set Rg = Range(c.Value)
> Exit For
> End If
> End If
> Next c
> Range("Nom").Value = [Rg].Name.Name
> Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> End With
> Sheets("Menus").Activate
> Range([DESTINATION]).Select
> End Sub
>
> --
> Avec plaisir
> http://dj.joss.free.fr/trombine.htm
> http://jacxl.free.fr/mpfe/trombino.html
> Philippe.R
> Pour se connecter au forum :
> http://www.excelabo.net/mpfe/connexion.php
> News://news.microsoft.com/microsoft.public.fr.excel
> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le message
> de news:0B493881-08BD-42FE-91AB-A7240F31DCAD***microsoft.com...
> > Bonjour,
> > http://cjoint.com/?enrz1Tqeu5
> > Dans le fichier j'ai laissé tout les noms de champ mais je me suis
> > contenté
> > d'effacer le contenu des cellule.J'espère que cela nous vous gênera pas
> > pour
> > la compréhension du fichier
> > ***+ j'espère
> > --
> > Jean-Paul V
> >
> >
> > "Philippe.R" wrote:
> >
> >> Bonjour,
> >> Peux tu publier ici, via cjoint, au moins un extrait du classeur
> >> reproduisant le contexte ?
> >> --
> >> Avec plaisir
> >> http://dj.joss.free.fr/trombine.htm
> >> http://jacxl.free.fr/mpfe/trombino.html
> >> Philippe.R
> >> Pour se connecter au forum :
> >> http://www.excelabo.net/mpfe/connexion.php
> >> News://news.microsoft.com/microsoft.public.fr.excel
> >> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
> >> message
> >> de news:957F911A-2180-4D72-92FF-D6FC7A946CF6***microsoft.com...
> >> > Bonjour Philippe
> >> > Chez moi votre solution se plante (Excel 2000) erreur 1004 la methode
> >> > Range
> >> > de l'objet_ Global a échoué
> >> > Pour faire le teste j'ai effacé le contenu de Nom et DESTINATION
> >> > Puis j'ai éxécuté la macro
> >> >
> >> > Sub RetourMenu()
> >> > Dim c As Range, Noms As Range, Nom As Range, TABLE As Range,
> >> > DESTINATION As Range
> >> > With Sheets("Fonctions")
> >> > Set Noms = .[IMPRESSIONS].Resize(, 1)
> >> > For Each c In Noms
> >> > If Left(c.Offset(, 1), 11) = "=Procédure!" Then
> >> > If Not Intersect(Range(c.Value), ActiveCell) Is Nothing Then
> >> > Set Rg = Range(c.Value)
> >> > Exit For
> >> > End If
> >> > End If
> >> > Next c
> >> > Range("Nom").Value = [Rg].Name.Name
> >> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> >> > Range([DESTINATION]).Select
> >> > End With
> >> > End Sub
> >> >
> >> > Dans DESTINATION j'ai MENU mais votre Range([DESTINATION]).Select se
> >> > plante
> >> > au lieu d'aller Ã*** MENU et MENU existe j'ai vérifié ???
> >> > --
> >> > Jean-Paul V
> >> >
> >> >
> >> > "Philippe.R" wrote:
> >> >
> >> >> Bonjour,
> >> >> chez moi, cette syntaxe fonctionne pour atteindre l'adresse figurant
> >> >> une
> >> >> cellule nommée DESTINATION :
> >> >>
> >> >> Range([DESTINATION]).Select
> >> >>
> >> >> --
> >> >> Avec plaisir
> >> >> http://dj.joss.free.fr/trombine.htm
> >> >> http://jacxl.free.fr/mpfe/trombino.html
> >> >> Philippe.R
> >> >> Pour se connecter au forum :
> >> >> http://www.excelabo.net/mpfe/connexion.php
> >> >> News://news.microsoft.com/microsoft.public.fr.excel
> >> >> "Jean-Paul V" <JeanPaulV***discussions.microsoft.com> a écrit dans le
> >> >> message
> >> >> de news:B65F2930-205C-44F4-8C03-68FA67331E7E***microsoft.com...
> >> >> > Bonjour Ã*** tous,
> >> >> >
> >> >> > Non sans mal j’arrive dans ma macro Ã*** définir le contenu de 2
> >> >> > cellules
> >> >> > que
> >> >> > j’ai respectivement appelé Nom et DESTINATION, dans DESTINATION j’ai
> >> >> > le
> >> >> > nom
> >> >> > du champ où je veux aller .
> >> >> > Dim RangeChoisi As String
> >> >> > ….
> >> >> > Range("Nom").Value = [Rg].Name.Name
> >> >> > Range("DESTINATION").Value = "=VLOOKUP(NOM,TABLE,2,FALSE)"
> >> >> > RangeChoisi = Range("DESTINATION").Value
> >> >> >
> >> >> > Pourquoi aucune des 2 instructions qui suivent ne marche ?
> >> >> >
> >> >> > Range(RangeChoisi).Select
> >> >> > Application.Goto Reference:=[Range("DESTINATION").Value ],
> >> >> > Scroll:=True
> >> >> >
> >> >> > Comment les corriger,je tourne en rond et j’ai du jardinage Ã***
> >> >> > faire…?
> >> >> >
> >> >> > ***+ j’espère
> >> >> >
> >> >> > --
> >> >> > Jean-Paul V
> >> >>
> >> >>
> >>
> >>

>
>

Réponse avec citation
 
Réponse
Tags:



Outils de la discussion
Modes d'affichage

Règles de messages
Vous pouvez ouvrir de nouvelles discussions : nonoui
Vous pouvez envoyer des réponses : nonoui
Vous pouvez insérer des pièces jointes : nonoui
Vous pouvez modifier vos messages : nonoui

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Discussions similaires

Discussion Auteur Forum Réponses Dernier message
Re: select distint Patrice Newsgroup microsoft.public.fr.sqlserver 0 06/05/2008 11h00
select via cbo boblebob Newsgroup microsoft.public.fr.excel 1 27/03/2008 19h58
Question sur le SELECT TOP OlivierH Newsgroup microsoft.public.fr.fox 5 18/01/2008 15h24
Imbrication de SELECT Christophe Newsgroup alt.fr.comp.lang.php 6 25/01/2007 11h13
Select * from c:\~~\~~~_virtual_file_~~.olk Rock Newsgroup microsoft.public.fr.officexp 0 16/11/2006 20h48


Fuseau horaire GMT. Il est actuellement 07h55.

Italiano - German - English - Español


Édité par : vBulletin® version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 © 2007, Crawlability, Inc. Tous droits réservés.
Version française #13 par l'association vBulletin francophone


Politique - Droit - Philosophie - Football - Medicine - Française - Bricolage - Photo - Mac Os X - Divers - Physique - Jardinage
Mecanique - Moto - Photographie - Rail - Route - Aviation - Cinema - Linux - Psychanalyse - Finance - Enigmes - Rugby
Environnement - Histoire - Programmes TV - Education - Travail - Voyages - Windows - Immobilier - Cuisine
Windows XP - Excel - Word - Outlook - Access - Internet Explorer - Office - Vista

Page generated in 0,52669 seconds with 11 queries