Sorgu için arama sonuçları: word.application

  1. E

    Excel'den bir hüceyi word de istediğimiz bir metnin yerine göndermek

    Hocam emeğiniz için teşekkür ederim. Öncelikle bu kodu module oluşturup oraya kopyaladım dosyayı makro kaydedecek şekle getirdim dosya konumunu ayarladım örnek word dosyasını oluşturdum ama dosya açıkken ve kapalıyken denememe rağmen maalesef çalıştıramadım. Dosya uzantısı docx di uzantıyı doca...
  2. mancubus

    Excel'den bir hüceyi word de istediğimiz bir metnin yerine göndermek

    ...replTxt As String findTxt = "Ahmet" replTxt = Worksheets("Sayfa1").Range("A1").Value Set wdApp = CreateObject("Word.Application") wdApp.Visible = False Set wdDoc = wdApp.Documents.Open("C:\klasör\altklasör\deneme word.doc") With wdDoc.Content.Find...
  3. halit3

    Tabloyu Worde Aktarma

    ...Sub deneme() son = Cells(Rows.Count, "c").End(3).Row Range(Cells(7, "c"), Cells(son, "f")).Copy Set wrdApp = CreateObject("Word.Application") Set wrdDoc = wrdApp.Documents.Add wrdApp.Visible = True wrdApp.ActiveDocument.Range.Paste Application.DisplayAlerts = False sat1 =...
  4. H

    Tabloyu Worde Aktarma

    ...--- Comment ' in the VBE select Tools, References and check the Microsoft Word X.X object library' --- Comment 'Dim wdApp As Word.Application, wdDoc As Word.Document, ws As Worksheet Application.ScreenUpdating = False Application.StatusBar = "Creating new document..." Set wdApp =...
  5. M

    Çalışan programları listelemek

    ...ama yapamadım. yardımlarınızı bekliyorum. (listelemek olmayabilir. Uygulama çalışıyor, Yada kapalı mesaj vermesi yeterli) Sub word_kapat() On Error Resume Next Set wrd = GetObject(, "word.Application") If Err.Number <> 0 Then MsgBox "Dosya kapalı.", vbInformation Else: MsgBox "Açık" End If...
  6. H

    Excel'den Word'de kelime değiştirme

    ...If MyFile.Name = ActiveWorkbook.Name Or MyFile.Name = "~$Wordde Kelime Degistir.xlsm" Then GoTo 10 Set WA = CreateObject("Word.Application") WA.Documents.Open (pathh & "\" & MyFile.Name) WA.Visible = False 'True WA.Activate...
  7. H

    Excel'den Word'de kelime değiştirme

    ...String Dim objWord As Object, regExp As Object filePath = "C:\TestFolder\testx.docx" Set objWord = CreateObject("Word.Application") Set myDoc = objWord.Documents.Open(filePath) from_text = [a1] to_text = [b1] Set regExp =...
  8. halit3

    Excel'den Word'de kelime değiştirme

    referanslarda word seçilmeli veya Sub tablo_word1() Dim objWord As Word.Application Dim docWord As Word.Document Set objWord = CreateObject("Word.Application") objWord.Visible = True yol = "C:\testx.docx" Set docWord = objWord.Documents.Open(Filename:=yol, ReadOnly:=True) Set myRange =...
  9. halit3

    Excel'den Word'de kelime değiştirme

    ...As String, to_text As String Dim WA As Object pathh = "C:\testx.docx" from_text = [a1] to_text = [b1] Set WA = CreateObject("Word.Application") WA.Documents.Open (pathh) WA.Visible = True WA.Activate WA.Selection.Find.ClearFormatting WA.Selection.Find.Replacement.ClearFormatting With WA With...
  10. H

    Excel'den Word'de kelime değiştirme

    ...Dim oCell As Integer Dim from_text As String, to_text As String Dim WA As Object pathh = "C:\testx.docx" Set WA = CreateObject("Word.Application") WA.Documents.Open (pathh) WA.Visible = True 'For oCell = 1 To 100 'from_text = Sheet1.Range("A" + CStr(oCell)).Value 'to_text =...
  11. L

    Soru Dolu hücreleri büyük veya küçük harf yapma ve seçilen şablonun bulunduğu klasörün içine kaydetme

    Private Sub CommandButton1_Click() Dim doc As Word.Document Set wordapp = CreateObject("word.application") dosya = Application.GetOpenFilename("Lütfen Dosyayı Seçiniz (*.docx),*.docx;") If dosya <> "False" Then MsgBox "Dosya Seçildi." Else MsgBox "Dosyayı Seçmediniz!" End If For Each x In...
  12. L

    Kod Yardımı

    Private Sub CommandButton1_Click() Dim doc As Word.Document Set wordapp = CreateObject("word.application") dosya = Application.GetOpenFilename("Lütfen Dosyayı Seçiniz (*.docx),*.docx;") If dosya <> "False" Then MsgBox "Dosya Seçildi." Else MsgBox "Dosyayı Seçmediniz!"...
  13. R

    Adı Soyadı düzenleme kodu hk.

    ...Application.OnKey "+{F3}" End Sub ' Sub CaseChange() Dim lngType As Long, MyRng As Range Set MyWd = CreateObject("Word.Application") Set MyDoc = MyWd.Documents.Add On Error Resume Next X = CommandBars.ActionControl.Parameter On Error GoTo 0 If j > 0 Then X = j...
  14. M

    makro ile veri çekme

    Sub sell() Dim sk As Worksheet Dim u As Range Set sk = Sheets("sf") Dim i As Integer Dim ie As Object Dim document As HTMLDocument Set ie = Nothing Set ie = CreateObject("InternetExplorer.Application") ie.Visible = True For i = 2 To sk.Range("c" & Rows.Count).End(xlUp).Row 'sipariş...
  15. 1

    Alt klasördeki word dosyaları pdf

    ...= LCase(fL.GetExtensionName(dosya.Name)) dosya_adi = fL.GetBaseName(dosya) If Uzanti = "doc" Or Uzanti = "docx" Then Dim wrdApp As Word.Application Dim wrdDoc As Word.Document Set wrdApp = CreateObject("Word.Application") wrdApp.Documents.Open (dosya) wrdApp.Visible = True say =...
  16. M

    veri çekme

    selamlar veri çekmede hata alıyorum yardımcı olabilirmisiniz teşekkürler Sub sell() Dim sk As Worksheet Dim u As Range Set sk = Sheets("sf") Dim i As Integer Dim ie As Object Dim document As HTMLDocument Set ie = Nothing Set ie = CreateObject("InternetExplorer.Application")...
  17. halit3

    Excel İle word dosyası açıp, bu dosyayı farklı kaydetme.

    Sub OpenDocFromExcel() Dim wordapp1 As Word.Application Dim wordapp2 As Word.Application Dim myDoc1 As Word.Document Dim myDoc2 As Word.Document dosyayolu1 = "C:\Users\a\Desktop\b\11.docx" dosyayolu2 = "C:\Users\a\Desktop\b\22.docx" Set wordapp1 = CreateObject("word.Application") Set...
  18. halit3

    Excel İle word dosyası açıp, bu dosyayı farklı kaydetme.

    Bunu denermisiniz. Sub OpenDocFromExcel() Dim wordapp1 As Word.Application Dim wordapp2 As Word.Application Dim myDoc1 As Word.Document Dim myDoc2 As Word.Document dosyayolu1 = ThisWorkbook.Path & "\11.doc" dosyayolu2 = ThisWorkbook.Path & "\22.doc" Set wordapp1 =...
  19. D

    Excel İle word dosyası açıp, bu dosyayı farklı kaydetme.

    Bende de aynı sorun var çözemedim hala
  20. B

    Excel İle word dosyası açıp, bu dosyayı farklı kaydetme.

    ...dosyayolu = "C:\Users\a\Desktop\b\11.docx" dosyayolu2 = "C:\Users\a\Desktop\b\22.docx" Set wordapp = CreateObject("word.Application") Set wordapp2 = CreateObject("word.Application") wordapp.Documents.Open dosyayolu wordapp2.Documents.Open dosyayolu2 wordapp.Visible =...
Üst