Announcement

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

  • Export excel data with 0 observation

    Hi
    Im doing so many report to export excel and my problem is when i have 0 observation dont update.
    export excel using "D:\DATA\REPORTS.xlsx" if tpob==0, sheet("SHEET1",modify) nolabel

    observations must be between 1 and 1048576
    how can i do ?







  • #2
    Code:
    count if tpob == 0
    if r(N) > 0 {
        export excel using "D:\DATA\REPORTS.xlsx" if tpob==0, sheet("SHEET1",modify) nolabel
    }

    Comment

    Working...
    X