Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Formular takes out one character

Inactive User
Not applicable

Hi all,

 

by running this workflow, the formula tool is cutting off one character ")":

From

 

$excelObj.Workbooks.Open("C:\Users\Desktop\Papierkorb\Test\test2.xlsx")

 

 I expected to receive:

$excelObj.Workbooks.Open(\"C:\Desktop\Papierkorb\Test\test2.xlsx\")

 

Instead I received:

$excelObj.Workbooks.Open((\"C:\Desktop\Papierkorb\Test\test2.xlsx\"

--> the character ")" is missing

 

It worked with a different line in the array.

From $excelWorkSheet = $excelObj.WorkSheets.item("Sheet1")

 

The workflow produced:

$excelWorkSheet = $excelObj.WorkSheets.item(\"Sheet1\")

 

Thanks for your help

 

 

Capture.PNG

2 REPLIES 2
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Inactive User,

 

Could you attach your workflow? It looks as though it could be the size of the field which is limiting the string and therefore removing the character.

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

DiganP
Alteryx Alumni (Retired)

@Inactive User It could be the string length or you can just use another formula tool to add the parenthesis to the end of the string. Would you be able to share an example?

Digan
Alteryx
Labels
Top Solution Authors