Get a list of Property name

Hi

Could anyone help me on this one?

Openstaad macro in excel.

Im trying to get the list of profile used.

Thanks.