Thanks as always to KIt Baum, a new version of the docxtab package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of docxtab.
The docxtab package is described as below on my website. The new version adds an option trowseq(newvar) to generate a variable containing, in each observation, the sequence number of the table row corresponding to that observation. It also updates and corrects the online help.
Best wishes
Roger
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
package docxtab from http://www.rogernewsonresources.org.uk/stata16
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TITLE
docxtab: List variables to a .docx table with head or foot rows from characteristics
DESCRIPTION/AUTHOR(S)
docxtab lists the variables in the varlist (or all variables, if the
varlist is absent) to an Office Open XML (.docx) table acceptable to
putdocx table, with added header rows above and footer rows below,
extracted from variable characteristics. These characteristics may
be multiple (allowing multiple header and footer rows), and each
characteristic may be set for multiple variables by the SSC package
chardef. The generated .docx table table can then be modified using
other putdocx table commands, to change the formatting of rows,
columns, or cells.
Author: Roger Newson
Distribution-Date: 07december2022
Stata-Version: 16
INSTALLATION FILES (click here to install)
docxtab.ado
docxtab.sthlp
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(click here to return to the previous screen)
The docxtab package is described as below on my website. The new version adds an option trowseq(newvar) to generate a variable containing, in each observation, the sequence number of the table row corresponding to that observation. It also updates and corrects the online help.
Best wishes
Roger
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
package docxtab from http://www.rogernewsonresources.org.uk/stata16
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TITLE
docxtab: List variables to a .docx table with head or foot rows from characteristics
DESCRIPTION/AUTHOR(S)
docxtab lists the variables in the varlist (or all variables, if the
varlist is absent) to an Office Open XML (.docx) table acceptable to
putdocx table, with added header rows above and footer rows below,
extracted from variable characteristics. These characteristics may
be multiple (allowing multiple header and footer rows), and each
characteristic may be set for multiple variables by the SSC package
chardef. The generated .docx table table can then be modified using
other putdocx table commands, to change the formatting of rows,
columns, or cells.
Author: Roger Newson
Distribution-Date: 07december2022
Stata-Version: 16
INSTALLATION FILES (click here to install)
docxtab.ado
docxtab.sthlp
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(click here to return to the previous screen)