Variable or argument is not defiend in the current scope

The scope I have selected is the outermost range.