Function CopyRangeToABC(TheWorkSheet As Worksheet, strRange As String, WordApp As Word.Application, WordEPD As Word.Document, tableIndex As Integer, startI As Integer, startJ As Integer, endI As Integer, endJ As Integer) As Boolean
OpenClipboard 0
EmptyClipboard
CloseClipboard
TheWorkSheet.Activate
WordABC.Activate
'WordABC.Tables(tableIndex).Select
WordApp.Selection.SetRange Start:=WordABC.Tables(tableIndex).Cell(startI, startJ).Range.Start, End:=WordABC.Tables(tableIndex).Cell(endI, endJ).Range.End
OpenClipboard 0
EmptyClipboard
CloseClipboard
TheWorkSheet.Range(strRange).Copy
WordApp.Selection.Paste
OpenClipboard 0
EmptyClipboard
CloseClipboard
End Function