DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Wordden_Al_Excele_Yapistir()
Dim wrd As Object
Dim doc As Object
With Application.FileDialog(msoFileDialogFilePicker)
.AllowMultiSelect = False
.Filters.Add "Word Belgeleri", "*.doc", 1
If .Show = -1 Then
Set wrd = CreateObject("Word.Application")
wrd.Application.Visible = True
Set doc = wrd.documents.Open(.SelectedItems(1))
With doc.ActiveWindow.Selection
.WholeStory
.Copy
End With
End If
End With
Range("A1").Select
ActiveSheet.Paste
doc.Close 0
wrd.Quit
Set doc = Nothing
Set wrd = Nothing
End Sub
Sub Wordden_Al_Excele_Yapistir()
Dim wrd As Object
Dim doc As Object
With Application.FileDialog(msoFileDialogFilePicker)
.AllowMultiSelect = False
.Filters.Add "Word Belgeleri", "*.doc", 1
If .Show = -1 Then
Set wrd = CreateObject("Word.Application")
wrd.Application.Visible = True
Set doc = wrd.documents.Open(.SelectedItems(1))
With doc.ActiveWindow.Selection
.WholeStory
.Copy
End With
[COLOR=red] Else
Exit Sub
[/COLOR] End If
End With
Range("A1").Select
ActiveSheet.Paste
doc.Close 0
wrd.Quit
Set doc = Nothing
Set wrd = Nothing
End Sub