Sorgu için arama sonuçları: picture

  1. Korhan Ayhan

    SORU = Hücreye eklediğim görselleri hücrenin ortasına hizalamak

    Deneyiniz. Option Explicit Public Sub Fit_All_Selected_Pictures() Dim pic As Picture Dim PicWtoHRatio As Single Dim CellWtoHRatio As Single Select Case TypeName(Selection) Case "DrawingObjects" For Each pic In Selection PicWtoHRatio =...
  2. K

    Birden fazla hücrede değişiklik olunca çalışan makro

    ...Union([M5], [M13])) Is Nothing Then Exit Sub On Error Resume Next ActiveSheet.DrawingObjects.Delete Dim resimyolu As String Dim resim As Picture resimyolu = ActiveWorkbook.Path & "\" & Sheets(2).[M5] & ".jpg" Set resim = ActiveSheet.Pictures.Insert(resimyolu) With Range("V2") resim.Top = .Top...
  3. K

    Birden fazla hücrede değişiklik olunca çalışan makro

    ilginiz için teşekkür ederim fakat bu kodda çalışmadı ne m5 nede m13 değişince işlem yapmıyor
  4. veyselemre

    Birden fazla hücrede değişiklik olunca çalışan makro

    ...<> "" Then If ActiveSheet.DrawingObjects.Count > 0 Then ActiveSheet.DrawingObjects.Delete Dim resimyolu$, resim As Picture resimyolu = ActiveWorkbook.Path & "\" & [M5] & ".jpg" If Dir(resimyolu) <> "" Then Set resim =...
  5. F

    SORU = Hücreye eklediğim görselleri hücrenin ortasına hizalamak

    ...sabitlemesi bunu ortaya sabitleyecek şekilde revize etmem gerekiyor yardımcı olur musunuz? Teşekkürler şimdiden. Public Sub Fit_All_Selected_Pictures() Dim pic As Picture Dim PicWtoHRatio As Single Dim CellWtoHRatio As Single Select Case TypeName(Selection)...
  6. K

    Birden fazla hücrede değişiklik olunca çalışan makro

    ...Intersect(Target, [M5]) Is Nothing Then Exit Sub On Error Resume Next ActiveSheet.DrawingObjects.Delete Dim resimyolu As String Dim resim As Picture resimyolu = ActiveWorkbook.Path & "\" & Sheets(2).[M5] & ".jpg" Set resim = ActiveSheet.Pictures.Insert(resimyolu) With Range("V2") resim.Top =...
  7. bulentkars

    Soru Makro Çalışmadan Önce Sayfa İsimlerine göre seçim yapmak

    ....TextEffect.FontName = "Arial Rounded MT Bold" .Height = 50 End With sh.UsedRange.CopyPicture xlScreen, xlPicture my_slide.Shapes.Paste ''''''' Resize and reposition the picture With my_slide.Shapes(2)...
  8. F

    resimin kaldırılması hk.

    Tevfik Bey, Bu Ekran Geldi. run-time error "438": object doesn't support this property or method vba ekranında: If TypeName(ActiveSheet.Shapes(Picture.Name).OLEFormat.Object) = Me.Pictures Then Sarı renk oldu. hata verdi.
  9. T

    resimin kaldırılması hk.

    Deneyiniz ... Private Sub CommandButton2_Click() Dim Picture As Object For Each Picture In ActiveSheet.Shapes If TypeName(ActiveSheet.Shapes(Picture.Name).OLEFormat.Object) = Me.Pictures Then Picture.Delete End If Next Picture End Sub
  10. F

    resimin kaldırılması hk.

    "object doesn't spupport this property or method" uyarısı verdi
  11. T

    resimin kaldırılması hk.

    Merhaba Arkadaşım, Deneyiniz ... Sub Resimleri_Sil() Dim Picture As Object For Each Picture In ActiveSheet.Shapes If TypeName(ActiveSheet.Shapes(Picture.Name).OLEFormat.Object) = Me.Pictures Then Picture.Delete End If Next Picture End...
  12. F

    resimin kaldırılması hk.

    ...ürün kodu yazdığımda resimi getirebilir miyimiz yardımlarınızı bekliyorum saygılarımla Private Sub CommandButton1_Click() Dim res As Picture Dim x As Long Dim ps As Long ps = Range("A20000").End(xlUp).Row For x = 2 To ps On Error Resume Next Range("C" & x).Select Set res =...
  13. O

    TextBox yol tarif etme

    ...değişire bilimiyim. Private Sub Worksheet_Change(ByVal Target As Range) Application.ScreenUpdating = False On Error Resume Next Dim resim As Picture, alan As Range 'Set Alan = Range("b4:b6") For Each resim In ActiveSheet.Pictures If Not Intersect(resim.TopLeftCell, alan) Is Nothing Then...
  14. N

    Satır ve sutunun genişliğine göre foto ekle

    ...Dim c2Genislik As Double Dim c2Yukseklik As Double Dim resimSol As Double Dim resimUst As Double Dim resim As Picture Dim resimDosyasi As String resimDosyasi = ResimDosyasiSec If resimDosyasi = "" Then MsgBox "Resim Dosyasi Seçilmedi...."...
  15. N

    Satır ve sutunun genişliğine göre foto ekle

    ...Worksheet Dim c2Genislik As Double Dim c2Yukseklik As Double Dim resimSol As Double Dim resimUst As Double Dim resim As Picture ' Çalışma sayfasını belirleyin Set ws = ThisWorkbook.Sheets("Sayfa1") ' Sayfa adınızı uygun şekilde değiştirin ' C2 hücresinin...
  16. ÖmerFaruk

    Hücre içine webden resim (konum problemi)

    Kodlara bir IF sorgusu ekledim Sub InsertPic() Dim pic As String, myPicture As Picture, rng As Range, cl As Range Set rng = Range("K2:K15") On Error Resume Next For Each cl In rng If Not IsEmpty(cl) Then 'ilave edildi pic = cl.Value Set myPicture =...
  17. tamer42

    Userform Image nesnesine clipboard' tan resim kopyalama

    ...FilePathJPG = FileRoot & ".jpg" 'Save a BMP SaveClip2Bit FilePathBMP 'Convert to JPG WIA_ConvertImage FilePathBMP, FilePathJPG, JPEG, 85 'Delete the BMP Kill (FilePathBMP) Load_Picture FileRoot Exit Sub reportErr: MsgBox "No image in Clipboard" Resume Next End Sub
  18. tamer42

    Userform Image nesnesine clipboard' tan resim kopyalama

    ...için aşağıdaki kodu oluşturdum fakat hata veriyor, Nasıl bir kod düzenlenebilir? desteğiniz için şimdiden teşekkürler, iyi akşamlar. Private Sub CommandButton1_Click() '''Worksheets("Sayfa1").Range("D3:I12").CopyPicture xlScreen, xlBitmap Me.Image1.Picture = PastePicture(xlBitmap) End Sub
  19. Muzaffer Ali

    Çözüldü Userfom Değer Değiştirme Grafiği

    ...Set mychart = Sayfa1.Shapes("Grafik").Chart mychart.Export VBA.Environ("TEMP") & Application.PathSeparator & "grafikk.jpg" Image1.Picture = LoadPicture(VBA.Environ("TEMP") & Application.PathSeparator & "grafikk.jpg") End Sub Private Sub UserForm_Initialize() CbKisiler.RowSource =...
  20. A

    userform'da Image'ye resim getirme

    ...Sub CommandButton2_Click() Dim img As String img = Application.GetOpenFilename(filefilter:="Jpeg images,*.jpg", Title:="Please select an image") If Dir(img) <> "" Then Me.txt_Image_URL.Value = img Me.Image1.Picture = LoadPicture(img) End If Yardımcı olabilirseniz sevinirim.
Üst