Creating a box with attribute from an excel file

No the DC “Name” attribute will not be reflected in the Component “Name” property that you see displayed in the Entity Info inspector.

You will need to solve this using the SketchUp Ruby API.
To use it, you should first learn the basics of Ruby (as SketchUp’s API only extends the Ruby language.)

So, please edit this topic title, and reassign the topic to the Ruby API subcategory.