Hi,
I'd like to use the function 'headerrow' also for the putdocx collect command.
Does anyone have an idea, how?
Without collect:
putdocx table t1 = data(x y z), layout(autofitcontents) headerrow(1)
I have tried the same with collect in Stata 17, without success:
table (varA varB) () , statistic(frequency) statistic(percent) nototal ///
label(FreqPercentTableLabel.stjson)
collect style use CAT2CAT.stjson, override
putdocx paragraph, style(Heading4)
collect style putdocx, layout(autofitcontents) // ** collect style putdocx, layout(autofitcontents) headerrow(1) - headerrow(1) is not available
putdocx collect, tablename(t1)
putdocx table t1 , headerrow(1) // ** , headerrow(1) is not available
Thank you!
I'd like to use the function 'headerrow' also for the putdocx collect command.
Does anyone have an idea, how?
Without collect:
putdocx table t1 = data(x y z), layout(autofitcontents) headerrow(1)
I have tried the same with collect in Stata 17, without success:
table (varA varB) () , statistic(frequency) statistic(percent) nototal ///
label(FreqPercentTableLabel.stjson)
collect style use CAT2CAT.stjson, override
putdocx paragraph, style(Heading4)
collect style putdocx, layout(autofitcontents) // ** collect style putdocx, layout(autofitcontents) headerrow(1) - headerrow(1) is not available
putdocx collect, tablename(t1)
putdocx table t1 , headerrow(1) // ** , headerrow(1) is not available
Thank you!
Comment