VB Code:
Function fnCreateTbl(NumberOfRows As Integer, NumberOfColumns As Integer, _
Optional blnTblBorders As Boolean = False)
'This function will create a table.
Application.ScreenUpdating = False
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=NumberOfRows, _
NumColumns:=NumberOfColumns, _
DefaultTableBehavior:=wdWord9TableBehavior, _
AutoFitBehavior:=wdAutoFitWindow
'To remove borders
Selection.Tables(1).Borders.Enable = blnTblBorders
Application.ScreenUpdating = True
End Function
In the above function you need to enter the number of rows and columns for your table.