Announcement

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

  • exporting stata graphs to a word document


    Hello everybody,

    I wanted to know if there was a way, other than simply copying and pasting, to export a status chart to a word document. Are there any specific commands?

    Thank you in advance for your attention

  • #2
    Often, using the -search- command in Stata, with your best guesses at keywords, will lead you to something helpful. This happens to be one of those situations:
    -search graph export- will lead you to the -graph export- command, which allows you to save a graph in a chosen format (e.g.,wmf or png), which can be put into a Microsoft Word document using the standard Word menu commands for inserting a graphics file into the current document. For example:
    Code:
    graph export "c:/myfolder/myfile.png", as(png)

    Comment


    • #3
      Also, once the graph is saved as png file you can use -putdocx image- to insert it into a Word document. See

      Code:
      help putdocx intro

      Comment


      • #4
        Thanks for the help, I appreciated it a lot.

        Comment

        Working...
        X