DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
merhaba ,
kod yazmaya gerek yok cunku internette yazilmisi var![]()
bir module yapistirip calistirin ..
iyi calismalar..
Sub ResizeCommentsVBA()
Dim myComment As Comment
Dim resizeType As Integer
Dim resizeScale As Integer
Dim newWidth As Integer
Dim newHeight As Integer
resizeType = 2
resizeScale = 2
'----------------------------------------------------
newWidth = 100 'istenilen olculeri buraya yazin
newHeight = 100 'istenilen olculeri buraya yazin
'----------------------------------------------------
For Each myComment In ActiveSheet.Comments
With myComment
If resizeType = 1 Then
.Shape.ScaleWidth resizeScale, msoFalse, msoScaleFromTopLeft
.Shape.ScaleHeight resizeScale, msoFalse, msoScaleFromTopLeft
End If
If resizeType = 2 Then
.Shape.Width = newWidth
.Shape.Height = newHeight
End If
End With
Next
End Sub