...vb. eklenecek resimi seçin,
Seçilen resim, önceden seçtiğiniz hücreye (örneğin B2), tam olarak gelecektir.
KOD ;
Sub InsertPicture()
Dim sPicture As String, pic As Picture
sPicture = Application.GetOpenFilename _
("Pictures (*.gif; *.jpg; *.bmp; *.tif), *.gif; *.jpg; *.bmp; *.tif", _
...
...Exit For
End If
Next
Dim SütunAdı As String
Set s1 = Sheets("BİLGİ SEÇME")
Set s2 = Sheets("BİLGİ SEÇME SAYFASI")
Dim Picture As Object
For Each Picture In s1.Shapes
If TypeName(s1.Shapes(Picture.Name).OLEFormat.Object) = "OLEObject" Then
If...
Cevabımı buldum dostlar gün gelir birine lazım olursa eğer
Private Sub CommandButton1_Click()
Dim res As Picture
Dim x As Long
Dim ps As Long
ps = Range("g20000").End(xlUp).Row
For x = 3 To ps
On Error Resume Next
Range("A" & x).Select
Set res = Me.Pictures.Insert(Range("E" &...
Private Sub CommandButton1_Click()
Dim res As Picture
Dim x As Long
Dim ps As Long
ps = Range("g20000").End(xlUp).Row
For x = 3 To ps
On Error Resume Next
Range("A" & x).Select
Set res = Me.Pictures.Insert(Range("E" & x).Value)
res.Width = 10
res.Height = 272
Next...
Merhaba,
Çalışma kitabında ki logoları başka logo ile değiştirmek istiyorum.
Kodu butona atayacam, değiştir dediğimde; picture 3 , pc'den belirttiğim yol üzerinden yeni resim ile değişecek ama bunu tüm çalışma kitabında uygulayacak.
Not: Picture 3 sabit, Pc den çekilecek yeni logonun yolu...
...İlgili kodlar için örnek, CommandButton1 'i kullandığınız buton ismi ile değiştiriniz.
If CbFaturaTuru.ListIndex < 0 Then
CommandButton1.Picture = LoadPicture("C:\Users\" & Environ("UserName") & "\Desktop\Loglar\İkonlar\incele.jpg")
CommandButton1.PicturePosition =...
Merhaba
Sharepoint altında bulunan resimlerim var. Bu resimleri excel sayfasında bulunan Image1.Picture yüklemek istiyorum. Sharepointte geçmeden önce resimler C: altında idi. Linki yazdığımda direk resim yükleniyordu. Sharepointte geçince linkleri değiştirsemde yüklenmiyor. Varmıdır bir yolu...
Alternatif;
Private Sub CommandButton2_Click()
Dim Grafik As Object
Set Grafik = Me.Image1.Picture
If Not Grafik Is Nothing Then Sheets("GRAFIK").Range("Yazdırma_Alanı").PrintOut
End Sub
Resimlereekle makronuz:
Sub Resimlerekle()
sat1 = 6
sat2 = 13
sut1 = 18
sut2 = 24
Dim Picturer As Object
Set Adres = Range(Cells(sat1, sut1).Address, Cells(sat2, sut2).Address)
Dim Picture As Object
For Each Picture In ActiveSheet.Shapes
If Not Intersect(Range(Picture.TopLeftCell.Address & ":"...
Sizlere daha iyi bir deneyim sunabilmek icin sitemizde çerez konumlandırmaktayız, web sitemizi kullanmaya devam ettiğinizde çerezler ile toplanan kişisel verileriniz Veri Politikamız / Bilgilendirmelerimizde belirtilen amaçlar ve yöntemlerle mevzuatına uygun olarak kullanılacaktır.