[FONT=Courier New][COLOR=darkblue]Option[/COLOR] [COLOR=darkblue]Explicit[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Sub[/COLOR] test()[/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] oWord [COLOR=darkblue]As[/COLOR] Word.Application[/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] oDoc [COLOR=darkblue]As[/COLOR] Word.Document[/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] oCell [COLOR=darkblue]As[/COLOR] Word.Cell[/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] sPath [COLOR=darkblue]As[/COLOR] [COLOR=darkblue]String[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] sFile [COLOR=darkblue]As[/COLOR] [COLOR=darkblue]String[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] r [COLOR=darkblue]As[/COLOR] [COLOR=darkblue]Long[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] c [COLOR=darkblue]As[/COLOR] [COLOR=darkblue]Long[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Dim[/COLOR] Cnt [COLOR=darkblue]As[/COLOR] [COLOR=darkblue]Long[/COLOR][/FONT]
[FONT=Courier New]Application.ScreenUpdating = [COLOR=darkblue]False[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]Set[/COLOR] oWord = CreateObject("Word.Application")[/FONT]
[FONT=Courier New]sPath = "C:\Users\Domenic\Desktop\" [COLOR=green]'change the path accordingly[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]If[/COLOR] Right(sPath, 1) <> "\" [COLOR=darkblue]Then[/COLOR] sPath = sPath & "\"[/FONT]
[FONT=Courier New]sFile = Dir(sPath & "*.doc")[/FONT]
[FONT=Courier New]r = 2 [COLOR=seagreen]'starting row[/COLOR][/FONT]
[FONT=Courier New]c = 1 [COLOR=seagreen]'starting column[/COLOR][/FONT]
[FONT=Courier New]Cnt = 0[/FONT]
[FONT=Courier New][COLOR=darkblue]Do[/COLOR] [COLOR=darkblue]While[/COLOR] Len(sFile) > 0[/FONT]
[FONT=Courier New] Cnt = Cnt + 1[/FONT]
[FONT=Courier New] [COLOR=darkblue]Set[/COLOR] oDoc = oWord.Documents.Open(sPath & sFile)[/FONT]
[FONT=Courier New] [COLOR=darkblue]For[/COLOR] [COLOR=darkblue]Each[/COLOR] oCell [COLOR=darkblue]In[/COLOR] oDoc.Tables(1).Range.Cells[/FONT]
[FONT=Courier New] Cells(r, c).Value = Replace(oCell.Range.Text, Chr(13) & Chr(7), "")[/FONT]
[FONT=Courier New] c = c + 1[/FONT]
[FONT=Courier New] [COLOR=darkblue]Next[/COLOR] oCell[/FONT]
[FONT=Courier New] oDoc.Close savechanges:=[COLOR=darkblue]False[/COLOR][/FONT]
[FONT=Courier New] r = r + 1[/FONT]
[FONT=Courier New] c = 1[/FONT]
[FONT=Courier New] sFile = Dir[/FONT]
[FONT=Courier New][COLOR=darkblue]Loop[/COLOR][/FONT]
[FONT=Courier New]Application.ScreenUpdating = [COLOR=darkblue]True[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]If[/COLOR] Cnt = 0 [COLOR=darkblue]Then[/COLOR][/FONT]
[FONT=Courier New] MsgBox "No Word documents were found...", vbExclamation[/FONT]
[FONT=Courier New][COLOR=darkblue]End[/COLOR] [COLOR=darkblue]If[/COLOR][/FONT]
[FONT=Courier New][COLOR=darkblue]End[/COLOR] [COLOR=darkblue]Sub[/COLOR][/FONT]