How to use macro save Table as txt file?

Question: The following table is with assembly model (NOT on detail drawing!), how to use macro save as txt file?

Thanks!

SolidworksApi macros