# Text component and strings in excel file

**URL:** <https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337>\
**Category:** Builder\
**Created:** [September 6, 2023, 11:28pm UTC](https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337 "2023-09-06T23:28:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gonzalo\_Rojas\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/gonzalo_rojas_costa/32/16082_2.png) [@Gonzalo\_Rojas\_Costa](https://discourse.psychopy.org/u/Gonzalo_Rojas_Costa)\
**Post date:** [September 6, 2023, 11:28pm UTC](https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337/1 "2023-09-06T23:28:23Z")

</div>

I need to show strings saved in an excel file, using a text component. Which is the sintaxis in the text component?. I tried $col asuming col the title of the excel column, but I didn´t got any result. Why?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 7, 2023, 8:03am UTC](https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337/2 "2023-09-07T08:03:34Z")

</div>

In principle that is correct. Please should screenshots of your spreadsheet, loop and image text component. Have you changed the background to white (in which case you might have white text on a white background). Another common issue is size: .1 is large in height units but invisible in pixels.

---

<div class="post-metadata">

**Author:** ![Gonzalo\_Rojas\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/gonzalo_rojas_costa/32/16082_2.png) [@Gonzalo\_Rojas\_Costa](https://discourse.psychopy.org/u/Gonzalo_Rojas_Costa)\
**Post date:** [September 8, 2023, 6:45pm UTC](https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337/3 "2023-09-08T18:45:16Z")

</div>

Here I include the screenshots that you asked me for. Thanks ou very much for your answer.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/7/b/7b631bedbffd669de609781259d243022127edd7.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/0/30e08ce56597073cc7de805fb82629b9333c7972.jpeg)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/4/549382d14fd3a2484733d6cf79c859e7d03ea927.jpeg)  
 ![4](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/f/e/fe0540fc0bbc227bf87a119e7da38fc28deb9baa.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 10, 2023, 9:27pm UTC](https://discourse.psychopy.org/t/text-component-and-strings-in-excel-file/36337/4 "2023-09-10T21:27:45Z")

</div>

Try reattaching the spreadsheet. According to the loop, the column is called chao not calculo
