Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Sheet Naming, Macro reading sheet name unknown variable error

JCornn
7 - Meteor

Thank you for helping in advance. I am running into an error when trying to have sheet names dynamically assigned, Comprised of 2 macros the first is fed a file path to generate sheet names output that is then read by the second macro

 

The issue I am running into is when the the 1st macro is initiated it says the sheet name column is an unknown variable.  I have created many similar macros and do not understand why this error is occurring.

 

Error:

JCornn_1-1638905334126.png

JCornn_2-1638905367708.png

 

(1st) Sheet Naming Macro: Pulls sheet names and creates path for correct sheet name

JCornn_3-1638905393424.png

 

 

(2nd) Main Macro:

JCornn_4-1638905422081.png

 

 

Formula causing error: (The only operation performed by the select tool is naming [Sheet Name].)

JCornn_0-1638905639797.png

 

 

Let me know if I can clarify. Thank you!

 

4 REPLIES 4
csmith11
11 - Bolide

The Variable Should Likely be [Sheet Names]  with an s.

 

Please let me know if this resolves your issue.

csmith11
11 - Bolide

csmith11_0-1638913501992.png

 

JCornn
7 - Meteor

Thank you for the reply!

 

Unfortunately the error was originally occurring with the variable [Sheet Names], so I renamed to [Sheet Name] to remove naming as a possible fix. 

JCornn_0-1638982789106.png

 

csmith11
11 - Bolide

Hmmm. Can you share the full list of messages errors and any other warnings? 

 

From your main workflow can you enable the following:

csmith11_1-1638984137018.png

 

 

Labels
Top Solution Authors