0% found this document useful (1 vote)
332 views

Excel Macros Using OpenSTAAD

This Excel file uses OpenSTAAD and VBA macros to extract structural analysis results from a STAAD model of a reinforced concrete beam. The macro retrieves the maximum sagging moment along the beam span from different load cases and checks the bending capacity against these governing moments. Users can select the STAAD file and member number, then run the macro to automatically extract and link the results into Excel for capacity checking calculations on a separate sheet.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
332 views

Excel Macros Using OpenSTAAD

This Excel file uses OpenSTAAD and VBA macros to extract structural analysis results from a STAAD model of a reinforced concrete beam. The macro retrieves the maximum sagging moment along the beam span from different load cases and checks the bending capacity against these governing moments. Users can select the STAAD file and member number, then run the macro to automatically extract and link the results into Excel for capacity checking calculations on a separate sheet.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Excel Macros using OpenSTAAD

This Excel file checks the bending capacity of a rectangular concrete beam with
the reinforcement already laid out. The capacity is checked against the maximum
sagging moment produced from a series of load cases. The beam is analyzed in STA
AD.Pro. The results are extracted and linked into Excel using OpenSTAAD and VBA.
A macro (Examp8) has been created to retrieve the maximum sagging moment along
the span of the beam as well as the width and depth of the cross-section of the
beam. The maximum sagging moment for each load case is extracted, and the govern
ing moment is the largest compression moment of the maximum moments.
The calculations for checking the capacity is located on the sheet marked "Concr
ete" while the extraction of the values from STAAD occurs on the sheet marked "S
TAAD.Pro Output". Once the file is opened (simply click on the link above to ope
n the file), Excel will warn of macros present in the file. Simply click on "Ena
ble Macros" to enable the Examp8 macro created for this example. It is always re
commended to do a virus scan on any macro before opening it - including this one
! Proceed to the sheet named "STAAD.Pro Output" and change the values of File Na
me (cell B14) and Member Number (cell B15) to reflect the file and member number
to be considered. Make sure that there are valid results for the STAAD file sel
ected and they exist in the same directory as the STD file. To run the macro, si
mply press "CTRL + O" or go to Tools->Macro->Macros and choose the macro named E
xamp8. Click on Run to start the macro.

You might also like