Announcement

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

  • writing to Word using _docx commands: how to create a new page?

    Hi

    I am using Stata/mata's _docx commands to write directly from Stata to a Word document. I have managed to create the document, and add text, tables and graphs as I wish, but I would like to ensure that each new table appear on a new page: is there a command to move to a new page? Or any other suggestions for work-arounds?

    Many thanks in advance for your help
    Fiona


  • #2
    Try mata function

    Code:
    real scalar_docx_add_pagebreak(dh) 


    which adds a page break to the document.

    Comment

    Working...
    X