# Reading my excel data in Processing

**URL:** <https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792>\
**Category:** Beginners\
**Created:** [March 17, 2022, 9:00am UTC](https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792 "2022-03-17T09:00:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [March 17, 2022, 9:43am UTC](https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792/4 "2022-03-17T09:43:52Z")

</div>

You can export/ save as in Excel.

Save as csv text file

This file you can copy into your Sketch folder.

Then loadStrings or loadTable

> [@Can't form array using splitText method (loadStrings)](https://discourse.processing.org/t/cant-form-array-using-splittext-method-loadstrings/28092):
>
> I’m trying to get text elements from a local text file into an array. pets.txt contains cat dog Hopefully this code explains the problem. Thanks for looking! var pets; var petArray = []; function preload() { . . . pets = loadStrings("pets.txt"); petArray = pets.splitText(','); } function draw() { . . . fill(0); textSize(20); text(pets,60,height-10); //prints… cat,dog text(“X” + petArray[1],160,height-10); //prints… Xundefined }

---

_[View the full topic](https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792)._
