Dynamic components linked to excel

Hello, I’m new here anda I have a question.
I have a model with dynamic components with the clickon function. When I click on the component it changes color indicating the phase in the construction field. Can I link these color changes to an excel file? I would like to change the information in excel and the model would automatically update. It’s possible?