Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Putdocx table

    Hi! I am trying to increase the height of cells using Putdocx table. Using the height command: height(# unit , atleast | exact ) does not work. I have done as the helpfile suggested i.e. specifying it when trying to format a row for e.g.

    putdocx table tbl1(4,.) , height(72pt, exact) but I get the "option not allowed" error.

    Many thanks!

  • #2
    I can't reproduce this behavior. I would suggest making sure your Stata is up to date type (update query in Stata). You can also attach a data example using dataex along with some sample code and we can take a look at it.

    Code:
    clear all
    sysuse auto, clear
    
    putdocx begin
    regress mpg weight c.price##i.foreign
    putdocx table tbl1 = etable, width(100%)
    putdocx table tbl1(4,.),  height(72pt, exact)
    putdocx save example.docx, replace
    Click image for larger version

Name:	Screenshot 2023-02-08 at 10.38.46 PM.png
Views:	1
Size:	130.1 KB
ID:	1700855

    Last edited by Justin Niakamal; 08 Feb 2023, 20:41.

    Comment


    • #3
      Hi Justin! It required an update! Thank you for your help.

      Comment

      Working...
      X