Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz.. Tarayıcınızı güncellemeli veya alternatif bir tarayıcı kullanmalısınız.
...c).Range.Cells(tbl.Rows.Count, tbl.Columns.Count)
End If
Next c
Next r
' Belgeyi kaydedin ve kapatın
wrdDoc.SaveAs ThisWorkbook.Path & "\" & ws.Range("A3").Text & ".docx"
wrdDoc.Close False
Set wrdDoc = Nothing
wrdApp.Quit
Set wrdApp = Nothing...
Hocam teşekkürler geri dönüşünüz için.
kodu uyguladığımda "wdAlignRowCenter" kısmı için variable not defined hatası alıyorum. bunu 1 olarak değiştirdiğimde aynı hatayı (wdAutoFitWindow) kısmı için alıyorum
...j).Text
i = i + 3
End If
Next k
Next j
wrdDoc.Tables(1).AutoFitBehavior (wdAutoFitWindow)
wrdDoc.SaveAs ThisWorkbook.Path & "\" & Range("a" & 3).Text & ".docx"
wrdDoc.Close False
Set wrdDoc = Nothing
wrdApp.Quit
Set wrdApp = Nothing
MsgBox "Belge hazırlandı"...
...k).Range.Text = _
ws.Cells(i, j).Text
i = i + 3
End If
Next k
Next j
wrdDoc.SaveAs ThisWorkbook.Path & "\" & Range("a" & 3).Text & ".docx"
wrdDoc.Close False
Set wrdDoc = Nothing
wrdApp.Quit
Set wrdApp = Nothing
MsgBox "Belge hazırlandı"...
...= True
.Execute Replace:=wdReplaceAll
End With
Next r
End With
Next j
l = 0
wrdDoc.SaveAs ThisWorkbook.Path & "\" & Range("a" & i).Text & ".docx"
wrdDoc.Close False
Set wrdDoc = Nothing
Next i
wrdApp.Quit
Set wrdApp =...
Necati bey ellerinize sağlık çok teşekkür ederim. Bunların sayfaların belli yerlerine vektör görsel ekleyeceğim tam olarak kod yapısını nereye nasıl yazabilirim. (1 logo, 2 vektör şekil)
...With .InlineShapes(l)
.Height = 150
.Width = 250
End With
End With
Next
l = 0
wrdDoc.SaveAs ThisWorkbook.Path & "\" & Range("a" & i).Text & ".docx"
wrdDoc.Close False
Set wrdDoc = Nothing
Next
wrdApp.Quit
Set wrdApp =...
...& b & ":E" & b))
End If
Next
Application.ScreenUpdating = False
Set w1 = Workbooks.Add
alan.Copy w1.Sheets(1).Range("A1")
w1.SaveAs isim
w1.Close 0
Application.ScreenUpdating = True
End If
Next
MsgBox "İşlem tamam"
End Sub
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.