Newbie here. Simply trying to save for later use the selected folder within the Browse For Folder activity. Here’s what I typed in the Selected Folder Path: Saved.Values(Of System.String)(“InputFolder”). But I get error: <“Saved” is not declared. It may be inaccessible due to its protection level.> This is a practice lesson (File and Folder Automation in StudioX_v1.220805) I’m working on in Academy. After struggling, I copied the line directly from the solution and get the same error. When I run the Academy’s solution, it runs fine. My StudioX version is 2022.4.4. What am I doing wrong? Thanks for the help.
If the variable has been declared, you have to change it’s scope from the variable panel to access it out of that scope where it has defined.