OS. Microsoft Word Macro Example

A Microsoft Office Word document is included which contains a partial report for analysis results which can be used as a basis for a customized report document.

The document file includes a macro named Pro which checks for the number of supported nodes as well as the number of load cases and load combinations and reports these back to the document. The document can then report support reactions for the selected node number and load case number.

  1. Open an input file within STAAD.Pro.
  2. Open the file C:\Users\Public\Public Documents\STAAD.Pro 2024\Samples Sample Models\OpenSTAAD\STAADandWord.doc.
  3. Click the Update Nodes and Load Cases button.
    The Node Number and Load Case Number selectors update with the data from the selected file.
  4. Select the Node Number and Load Case Number numbers for which results will be retrieved.
  5. Click Get Results.
    The support reactions and units update in the table below.