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