Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
May I know how to create the table box using macro with the records available in the temporary table. Can anyone attach the sample code which can be helpful for me to do development.
Thanks
Attitude
// This is code for creating tablebox and adding fields for that table
Sub CreateTable
Set tb= ActiveDocument.Sheets("Main").CreateTableBox
tb.AddField "FieldName1"
tb.AddField "FieldName2"
End Sub
// This is code adding fileds for existing table
Sub CreateTable
Set tb= ActiveDocument.GetSheetObject("TB01")
tb.AddField "FieldName1"
tb.AddField "FieldName2"
End Sub