Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Dynamic Inputs, Directories and Multi-Page Spreadsheets

rdlouviere
6 - Meteoroid

I am trying to pull a specific file dynamically from a directory so that I get the current year's file when I run it (or the latest document in that file). I know how to do that either way I determine to be the best later on. However, once I pull that specific file, I want to use it to pull in all of the sheet names so that I can create a full file path to dynamically pull in all the multiple tabs within that spreadsheet. 

 

I tried doing this using a directory tool and filters to get my file path but then using that file path, I want to pull only sheet names which I tried using a dynamic input but I keep getting an error that I have not specified a sheet when I have. Any recommendations as to what I might be doing wrong?

2 REPLIES 2
abacon
12 - Quasar

@rdlouviereDon't use a dynamic input tool. You want to use a macro that gets the sheet names out. Try this one, it is a batch macro that takes each file in a directory (or after your filter) and extracts the sheet names. It will allow you to create the dynamic file path.

 

Bacon

binuacs
21 - Polaris

@rdlouviere update your full path like below

image.png

Labels
Top Solution Authors