Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone, does anybody now how to count the records that a Simple Table has currently. Is there any way using VBSCRIPT to count them?
Thanks.
Yes, there is an API for that. Here is an example from the API Guide:
set chart = ActiveDocument.Sheets("Main").CreateStraightTable
chart.AddDimension "Class"
chart.AddDimension "Member"
chart.AddExpression "only(MemberComment)"
msgbox("number of class members = "&chart. GetNoOfRows)
Yes, there is an API for that. Here is an example from the API Guide:
set chart = ActiveDocument.Sheets("Main").CreateStraightTable
chart.AddDimension "Class"
chart.AddDimension "Member"
chart.AddExpression "only(MemberComment)"
msgbox("number of class members = "&chart. GetNoOfRows)
Thanks a lot!