Insert text from Excel cells into numerous text frames within single document
Hi all,
Before I get knees-deep into JavaScript, I wanted to check if anyone knows of a way to import text from specific cells in a spreadsheet into existing text frames in an existing document. I am working with a team on a very long book; across about 30 chapters it contains 700+ image captions and 100+ styled 'undernotes' (a footnote of sorts that lives in the text itself), both of which need to be frequently edited and reordered.
Both the captions and the undernotes live in excel spreadsheets. I'm looking for a way to sync the text frames containing the image captions and undernotes to their respective cells in the spreadsheets. After googling for several hours, neither text variables nor data merge seem to be capable of this specific task (but I would LOVE if someone could prove me wrong!) so I'm on the brink of writing a script.
This thread has been vastly useful, but I still need to figure out how to call existing text frames (probably starting with the first caption/note based on existing paragraph styles, using a function that will cycle through the document) and then replace the text as needed.
I feel like I can figure out the script (and hopefully it would be useful to others...[or even more hopefully maybe it already exists]) but I wanted to put this out there first, since it seems like a problem many would have encountered already. Having never worked on a long form publication like this, I might be drawing a blank on something obvious or just lacking experience/the terminology for a proper search query.
Thanks!