Announcement

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

  • outreg2

    Hello,

    I could not produce excel table from outreg. My command is simple as follows

    # In MS excel
    reg Hb_EL Hb_BL intake_Fe sup_Fe sup_FA
    outreg2 using reg_Hb, replace excel dec (3)

    When I run the above command, it produces the following
    reg_Hb.xml
    dir "seeout

    Instead of excel, it produces xml file but I can still see the result in stata data if I click "seeout"

    # In MS word
    When I change the output into word file, it works.
    I would like to know what it cannot produce the output in excel?

    outreg2 using reg_Hb.doc , replace excel dec (3)


    Appreciate if you could advise.
    Many thanks

  • #2
    Sorry, I mean "why it cannot produce the output in excel?"

    Comment


    • #3
      outreg2 is from SSC (FAQ Advice #12).

      Code:
      outreg2 using reg_Hb.xls, replace dec (3)
      should work.

      Comment


      • #4
        Thanks

        Comment

        Working...
        X