DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$U$1" Then Exit Sub
Sheets("ÖLÇÜLER").Shapes(Target.Text).Copy
If [Z1] = "TIR1" Then
y = 87
ElseIf [Z1] = "TIR2" Then
y = 418.25
ElseIf [Z1] = "TIR3" Then
y = 724.25
End If
With ActiveSheet
.Paste
For Each shp In .Shapes
If shp.Top = y Then
a = shp.Name
End If
Next
If s = 0 Then
Selection.Top = y
Selection.Left = 50
Else
Selection.Top = y
Selection.Left = .Shapes(a).Width + .Shapes(a).Left
End If
End With
End Sub
Sub CmOlarakSekilCizme3()
Dim g As Double, y As Double, z As Double
Dim myDocument As Worksheet
g = InputBox("Ondalık Kısmında Nokta '.' Karakterini Kullanın", "Genişliği Cm Olarak Girin")
y = InputBox("Ondalık Kısmında Nokta '.' Karakterini Kullanın", "Yüksekliği Cm Olarak Girin")
Set myDocument = Worksheets(1)
On Error Resume Next
With myDocument
z = .Shapes(.Shapes.Count).Width + .Shapes(.Shapes.Count).Left + 20
.Shapes.AddShape msoShapeRectangle, z, 0, (g * 72 / 2.54), (y * 72 / 2.54)
.Shapes(.Shapes.Count).TextFrame.Characters.Text = "Gen :" & g & Chr(10) & "Yük :" & y
.Shapes(.Shapes.Count).TextFrame.Characters.Font.Size = g * y + 4
End With
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$U$1" Then Exit Sub
Sheets("ÖLÇÜLER").Shapes(Target.Text).Copy
If [Z1] = "TIR1" Then
y = 87
ElseIf [Z1] = "TIR2" Then
y = 418.25
ElseIf [Z1] = "TIR3" Then
y = 724.25
End If
With ActiveSheet
.Paste
For Each shp In ActiveSheet.Shapes
If shp.Top = y Then
i = i + 1
S = shp.Left + shp.Width
End If
Next
If S = 0 Then
Selection.Top = y
Selection.Left = 50
Else
Selection.Top = y
Selection.Left = S
End If
End With
End Sub
Sub SekilSay()
For i = 82 To [b65536].End(3).Row
c = 0
k = 0
j = 0
For Each shp In ActiveSheet.Shapes
If shp.TopLeftCell.Row < 27 Then
If Cells(i, 2) = shp.Name Then
c = c + 1: Cells(i, 5) = c
End If
End If
If shp.TopLeftCell.Row > 32 And shp.BottomRightCell.Row < 53 Then
If Cells(i, 2) = shp.Name Then
k = k + 1: Cells(i, 6) = k
End If
End If
If shp.TopLeftCell.Row > 55 Then
If Cells(i, 2) = shp.Name Then
j = j + 1: Cells(i, 7) = j
End If
End If
Next
Next
End Sub