Dear Jackptot
Please a little amendent more i want to give the specific name of file like abc.doc in the macro that every time it won't ask me to
"Browse for file containing table to be imported"
fixed for one abc.doc
Sub ImportWordTable()
Dim wdDoc As Object, wdFileName As Variant, tblTemp As Object
wdFileName = Application.GetOpenFilename("Word files (*.doc),*.doc", , _
"Browse for file containing table to be imported")
If wdFileName = False Then Exit Sub
Set wdDoc = GetObject(wdFileName)
For Each tblTemp In wdDoc.tables
tblTemp.Range.Copy
Cells(Rows.Count, "A").End(xlUp).Offset(2).PasteSpecial xlPasteValues
Next
Set wdDoc = Nothing
End Sub
Thanks
Farrukh