hi community
I used "Get active Excel worksheet" to get a "SheetName" variable & "SheetIndex"variable.
i.e. Excel with 3 sheets: "AUHeadcount", "Instruction", "detail"
Now i want to set a new variable "CountryName" using first 2 character of the Sheet name of the first sheet (Index 1), then use the new variable "Country Name" to locate a sheet in a different excel.
i.e. Use "AU" to locate the sheet AU in a global headcount excel with multiple sheets like "AU", "NZ", "TH", "US"
Below is not working. I just don't know the code/language to use to get the first two characters of the content of a variable, and set as a new variable. I am pretty new so appreciate your direction.
