Quantcast
Channel: RAM | STAAD Forum - Recent Threads
Viewing all articles
Browse latest Browse all 22496

OPEN STAAD: Run Open STAAD with multiple STAAD running

$
0
0

Dear Team,

is it possible to run macro in excel on any STAAD file as per user request even if there are multiple STAAD files opened.

Currently when i run the macro and to extract data, my macro extract data from first instance of STAAD file opened. if i want o extract data from second STAAD file i need to close first STAAD file.

Following is my code.

  'Launch OpenSTAAD Object
    Set objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD")
    
   'Load your STAAD file - make sure you have successfully run the file
    objOpenSTAAD.GetSTAADFile stdFile, "TRUE"
In above code i want to add code such that user will get and option to select staad file to extract data.
Regards,
Hemant

Viewing all articles
Browse latest Browse all 22496

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>