Thanks once again 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 has a new option tcolchars(namelist), specifying a list of variable characteristics specifying cell formats for the table columns corresponding to the variables in the input varlist.
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: 15december2022
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 has a new option tcolchars(namelist), specifying a list of variable characteristics specifying cell formats for the table columns corresponding to the variables in the input varlist.
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: 15december2022
Stata-Version: 16
INSTALLATION FILES (click here to install)
docxtab.ado
docxtab.sthlp
------------------------------------------------------------------------------------------
(click here to return to the previous screen)