Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

copier coller graphique

8 réponses
Avatar
GEGE
Bonjour à tous

Je m'adresse à vous pour essayer de me dépatouiller...

Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.

Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....

Y a-t-il moyen de changer cela ?

J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees
avec une variable ...(je sais je suis une truffe....)

J'espere avoir ete clair.

Merci de m'aider

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

8 réponses

Avatar
Jacquouille
Bonjour
J'ai rien compris, si ce n'est que tu as des graphiques.
pour les sources, tu peux nommer les plages qui seront accessibles de
n'importe quelle feuille du document....
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840161e$0$19758$
Bonjour à tous
Je m'adresse à vous pour essayer de me dépatouiller...
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.
Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....
Y a-t-il moyen de changer cela ?
J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees
avec une variable ...(je sais je suis une truffe....)
J'espere avoir ete clair.
Merci de m'aider
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
Avatar
GEGE
ReBonjour
Merci de votre reponse, je vais essayer d'etre plus clair...
Sur une feuille mensuelle, je rapporte les résultats de compétition de
chaque participants, une cinquantaine. Ce qui fait 50 tableaux d'une
quinzaine de lignes dans lequel j'inclus un graphique pour mieux
visualiser la progression de chacun.
Pour cela je copie-colle pour chacun ce tableau mais les graphiques
gardent les sources du premier tableau. (plage de données en références
absolues). Connaissez vous un moyen de pallier à ce problème?
J'essaie par une macro : je definis une variable (numero de 1ere ligne
de chaque nouveau tableau) et à chaque graphique je redefinis les plages
de données en ajoutant cette variable.(ex RANGE =
("C9+variable:AG10+variable") mais je ne dois pas utiliser la bonne
syntaxe et j'ai un message d'erreur....
Merci encore de votre patience
GEGE
Le 01/12/2016 à 14:54, Jacquouille a écrit :
Bonjour
J'ai rien compris, si ce n'est que tu as des graphiques.
pour les sources, tu peux nommer les plages qui seront accessibles de
n'importe quelle feuille du document....
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840161e$0$19758$
Bonjour à tous
Je m'adresse à vous pour essayer de me dépatouiller...
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.
Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....
Y a-t-il moyen de changer cela ?
J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees
avec une variable ...(je sais je suis une truffe....)
J'espere avoir ete clair.
Merci de m'aider
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
Avatar
?K?
Hello
D'après GEGE
Je veux, sur une meme feuille, copier un petit graphique une cinquantaine
de fois, mais les données sont en references absolues et donc concerne
toujours le premier bloc.
Je les changerais bien manuellement une fois mais il y aura une feuille par
mois.....
Y a-t-il moyen de changer cela ?
J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees avec
une variable ...(je sais je suis une truffe....)

essaie d'adapter ça
ça génère 25 graphiques identiques (24 copies) avec chacun sa plage de
données
ensuite "yaka" modifier les données
Sub desgraph()
' données du graphique en a1:c5, graphique inclus dans la plage a1:i9
With ActiveSheet
.Range("a1:i9").Copy
For i = 0 To 5
For j = 0 To 3
.Cells(11 + 10 * i, 1 + 10 * j).Select
.Paste
.ChartObjects(2 + j + 4 * i).Name = "mongr" & 2 + j + 4 *
i
.ChartObjects(2 + j + 4 * i).Activate
ActiveChart.SetSourceData Source:=.Range(.Cells(11 + 10 *
i, 1 + 10 * j), .Cells(15 + 10 * i, 3 + 10 * j))
Next
Next
End With
End Sub
cdlt
--
-
Avatar
Jacquouille
Bonjour
Peut-être définir la cel de destination de chaque graphique, puis, au moyen
de "DECALER", aller chercher les datas correspondantes.
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840ae6b$0$3327$
ReBonjour
Merci de votre reponse, je vais essayer d'etre plus clair...
Sur une feuille mensuelle, je rapporte les résultats de compétition de
chaque participants, une cinquantaine. Ce qui fait 50 tableaux d'une
quinzaine de lignes dans lequel j'inclus un graphique pour mieux
visualiser la progression de chacun.
Pour cela je copie-colle pour chacun ce tableau mais les graphiques
gardent les sources du premier tableau. (plage de données en références
absolues). Connaissez vous un moyen de pallier à ce problème?
J'essaie par une macro : je definis une variable (numero de 1ere ligne
de chaque nouveau tableau) et à chaque graphique je redefinis les plages
de données en ajoutant cette variable.(ex RANGE ("C9+variable:AG10+variable") mais je ne dois pas utiliser la bonne
syntaxe et j'ai un message d'erreur....
Merci encore de votre patience
GEGE
Le 01/12/2016 à 14:54, Jacquouille a écrit :
Bonjour
J'ai rien compris, si ce n'est que tu as des graphiques.
pour les sources, tu peux nommer les plages qui seront accessibles de
n'importe quelle feuille du document....
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840161e$0$19758$
Bonjour à tous
Je m'adresse à vous pour essayer de me dépatouiller...
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.
Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....
Y a-t-il moyen de changer cela ?
J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees
avec une variable ...(je sais je suis une truffe....)
J'espere avoir ete clair.
Merci de m'aider
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus

---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
Avatar
GEGE
Merci je vais essayer
Le 02/12/2016 à 11:23, Jacquouille a écrit :
Bonjour
Peut-être définir la cel de destination de chaque graphique, puis, au
moyen de "DECALER", aller chercher les datas correspondantes.
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840ae6b$0$3327$
ReBonjour
Merci de votre reponse, je vais essayer d'etre plus clair...
Sur une feuille mensuelle, je rapporte les résultats de compétition de
chaque participants, une cinquantaine. Ce qui fait 50 tableaux d'une
quinzaine de lignes dans lequel j'inclus un graphique pour mieux
visualiser la progression de chacun.
Pour cela je copie-colle pour chacun ce tableau mais les graphiques
gardent les sources du premier tableau. (plage de données en références
absolues). Connaissez vous un moyen de pallier à ce problème?
J'essaie par une macro : je definis une variable (numero de 1ere ligne
de chaque nouveau tableau) et à chaque graphique je redefinis les plages
de données en ajoutant cette variable.(ex RANGE > ("C9+variable:AG10+variable") mais je ne dois pas utiliser la bonne
syntaxe et j'ai un message d'erreur....
Merci encore de votre patience
GEGE
Le 01/12/2016 à 14:54, Jacquouille a écrit :
Bonjour
J'ai rien compris, si ce n'est que tu as des graphiques.
pour les sources, tu peux nommer les plages qui seront accessibles de
n'importe quelle feuille du document....
Jacques
" Le vin est au repas ce que le parfum est à la femme."
.
"GEGE" a écrit dans le message de groupe de discussion :
5840161e$0$19758$
Bonjour à tous
Je m'adresse à vous pour essayer de me dépatouiller...
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.
Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....
Y a-t-il moyen de changer cela ?
J'essaie par macro mais je n'arrive pas à redefinir la zone de donnees
avec une variable ...(je sais je suis une truffe....)
J'espere avoir ete clair.
Merci de m'aider
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus

---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://www.avast.com/antivirus
Avatar
GEGE
Merci
des que j'ai le temps je vais essayer de mettre ta solution en pratique
Le 02/12/2016 à 00:51, ?K? a écrit :
Hello
D'après GEGE
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.

Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....

Y a-t-il moyen de changer cela ?

J'essaie par macro mais je n'arrive pas à redefinir la zone de
donnees avec une variable ...(je sais je suis une truffe....)

essaie d'adapter ça
ça génère 25 graphiques identiques (24 copies) avec chacun sa plage de
données
ensuite "yaka" modifier les données
Sub desgraph()
' données du graphique en a1:c5, graphique inclus dans la plage a1:i9
With ActiveSheet
.Range("a1:i9").Copy
For i = 0 To 5
For j = 0 To 3
.Cells(11 + 10 * i, 1 + 10 * j).Select
.Paste
.ChartObjects(2 + j + 4 * i).Name = "mongr" & 2 + j + 4 * i
.ChartObjects(2 + j + 4 * i).Activate
ActiveChart.SetSourceData Source:=.Range(.Cells(11 + 10 * i,
1 + 10 * j), .Cells(15 + 10 * i, 3 + 10 * j))
Next
Next
End With
End Sub
cdlt

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Avatar
HB
bonsoir,
si je puis me permettre :
50 tableaux de cinquante lignes ( un ou deux col ?)
et les 50 graphiques associés sur une seule feuille ...
ça fait beaucoup... C'est un écran 52 pouces ? ;o)
Il me semble qu'il serait plus simple
de mettre les 50 tableaux en un seul (50 ou 100 col)
puis d'ajouter un objet de formulaire (toupie, par exemple)
qui provoque la récupération des données associées dans un "petit
tableau dédié"
Un seul graphique prend les données dans la zone fixe
on passe d'un graphique à l'autre en un clic
et le graphique n'est plus liliputien...
exemple avec 25 valeurs
http://www.cjoint.com/c/FLfrFOWMDLC
HB
Le 03/12/2016 à 12:57, GEGE a écrit :
Merci
des que j'ai le temps je vais essayer de mettre ta solution en pratique
Le 02/12/2016 à 00:51, ?K? a écrit :
Hello
D'après GEGE
Je veux, sur une meme feuille, copier un petit graphique une
cinquantaine de fois, mais les données sont en references absolues et
donc concerne toujours le premier bloc.

Je les changerais bien manuellement une fois mais il y aura une
feuille par mois.....

Y a-t-il moyen de changer cela ?

J'essaie par macro mais je n'arrive pas à redefinir la zone de
donnees avec une variable ...(je sais je suis une truffe....)

essaie d'adapter ça
ça génère 25 graphiques identiques (24 copies) avec chacun sa plage de
données
ensuite "yaka" modifier les données
Sub desgraph()
' données du graphique en a1:c5, graphique inclus dans la plage a1:i9
With ActiveSheet
.Range("a1:i9").Copy
For i = 0 To 5
For j = 0 To 3
.Cells(11 + 10 * i, 1 + 10 * j).Select
.Paste
.ChartObjects(2 + j + 4 * i).Name = "mongr" & 2 + j + 4 * i
.ChartObjects(2 + j + 4 * i).Activate
ActiveChart.SetSourceData Source:=.Range(.Cells(11 + 10 * i,
1 + 10 * j), .Cells(15 + 10 * i, 3 + 10 * j))
Next
Next
End With
End Sub
cdlt

---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
https://www.avast.com/antivirus
Avatar
LSteph
Bonjour,
Au lieu de mettre 50 tableaux dans la même feuille, ce qui sera object ivement impossible à regarder en entier.
-Un onglet avec tous les Noms-Infos-....-Résultats. 1 ligne par partic ipant.
-Un autre avec les données indexées sur le premier nom du tableau .
Mini-tableau et Graphique
Soit avec Recherchev ou Index Equiv
Tu aura juste à modifier l'index de ligne pour passer d'un participant à l'autre.
Sinon si cela te semble indispensable tu pourrais recopier 49 fois cet ongl et mais bon ...§§§.
Dans chaque feuille tu aura bien le graphique et tableau liés.
restera à décaler la référence de ligne dans chaque feu ille.
On pourrait aussi adapter cette solution par une simple boucle en VBA.
Cordialement.
--
LSteph