VBA functions are inaccessible due to its protection level
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-03-18 05:54 PM
Hi I am trying to get familiar with coding on blueprism. This is my simple code;
if (10 >=1) then
input = MID("A random text.",3,3)
else
input ="rand"
end if
output = input
everything in this code works except, MID function does not. Editor recognizes the MID word and its color change to blue but it gives an error "mid' is not declared. It may be inaccessible due to its protection level." How can I solve this problem? None of the functions left,right,mid, len works.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-03-18 09:22 PM
Sounds like your code stage doesn't understand what MID is. You probably need to qualify MID or add a namespace import to the Initialise page,
