Afficher un message
Vieux 17/09/2007, 15h46   #11 (permalink)
pierrejean
XLDnaute Barbatruc
 
Avatar de pierrejean
 
Date d'inscription: janvier 2006
Localisation: 69400 LIMAS
Version Excel : Excel 2000 (PC)
Messages: 5 113
Par défaut Re : grouper deux zone de texte

bonjour stormless

sans avoir testé , je te propose:

Code:
 
ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, 520#, -15 + iiii, _
17#, 45#).Select
Selection.Characters.Text = i
selection.Name="AJOUT"
With ActiveSheet
Set p = .Pictures.Insert(Application.FileSearch.FoundFiles (i))
.DrawingObjects(p.Name).Left = .Columns("j").Left
.DrawingObjects(p.Name).Top = .Rows(iii).Top
.DrawingObjects(p.Name).Width = .Columns("l").Left - .Columns("j").Left
.DrawingObjects(p.Name).Height = .Rows(iii + 3).Top - .Rows(iii).Top
.DrawingObjects(p.Name).Placement = xlMoveAndSize
.DrawingObjects(p.Name).PrintObject = True
 
.Shapes.Range(Array(p.name, "AJOUT")).Group
Arf !!!

avais pas rafraichi !!

Bravo Catrice (peux pas penser merci Catrice sans que mes diverses "coutures" ne fremissent)

Dernière modification par pierrejean 17/09/2007 à 15h48.
pierrejean est déconnecté   Réponse avec citation