Kid,
coba pake ini , tinggal rapihin posisinya aja
Option Explicit
Public Sub GabungShape()
ActiveSheet.Shapes.SelectAll
Selection.Copy
Range("A7:A37").PasteSpecial
End Sub
yang ini cuma iseng aja
Sub CekNamaShapes()
Dim Shp As Shape
For Each Shp In ActiveSheet.Shapes
Shp.Select
With Selection.ShapeRange
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.Fill.ForeColor.RGB = _
RGB(255, 0, 255)
.Fill.BackColor.RGB = RGB(0, 204, 255)
.Fill.Patterned msoPatternHorizontalBrick
DoEvents
MsgBox Shp.Name
'restore shape to its original size
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
End With
Next
[A1].Activate
End Sub
2009/3/10, nm kid <[email protected]>:
> Hai All,
>
> Minta masukan untuk merge shapes.
>
> Ceritanya, ada 3 Shapes, 2 berisi Picture, dan 1 sebagai TextBox keterangan
> (semuanya shapes, pakai rectangular shapes dulu).
>
> Kemudian ketiganya akan dijadikan sebagai 1 shape. Shape Picture1 disamping
> Shape Picture2 diatas Shape Textbox keterangan sebagai Shape Gabungan (bukan
> Group).
>
> Resolusi picture bebas, boleh di buat sama atau biarkan apa adanya.
> Masing-masing Picture juga boleh di samakan dimensinya, boleh tidak.
>
> Kalau bisa, selain penggunaan winapi BitBlt, tapi kalau tetap ingin pakai
> winapi BitBlt juga oke.
>
> Contoh data yang ada hanyalah contoh, jumlah shape bisa bervariasi dari 1
> sampai 5 shapes.
> Saya lampirkan contoh file masalahnya.
>
> Mohon bantuannya,
> Kid
>