Thanks Thanks:  0
Showing results 1 to 2 of 2

Thread: Report Macros

  1. #1
    Junior Member Reputation: 10
    Join Date
    2024-07-10
    Posts
    1


    Default Report Macros

    HiI am writing a macro, tell me how to access the tab with the report that is created by the Atoll - Predictions - Generate Report command?

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

  3. #2
    Administrator Reputation: 1383 GEZA's Avatar
    Join Date
    2007-03-12
    Location
    CN
    Posts
    1,428


    Default Re: Report Macros

    check the attachement in this post:
    https://www.finetopix.com/showthread...-version-3-3-2

    page 119 - 120 might help
    Code:
    Public Sub ExportStudy
    Dim oStudy
    Dim oCS
    Set oCS = ActiveDocument.CoordSystemDisplay
    For Each oStudy In ActiveDocument.GetRootFolder(0).Item(SID_PREDICTIONS)
    oStudy.Export "c:\export.asc", oCS, "ARCVIEWGRIDASCII"
    oStudy.Export "c:\export.txt", oCS, "TXT"
    oStudy.Export "c:\export.bmp", oCS, "BMP"
    Next
    End Sub

Bookmarks

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •