El objeto Variable al que se hace referencia (nombre = 'X') no es visible en este ámbito. Es posible que haya otra referencia de ubicación con el mismo nombre que sea visible en este ámbito pero que no haga referencia a la misma ubicación.
Click to search this error in Google
English version
The referenced Variable object (Name = 'X') is not visible at this scope. There may be another location reference with the same name that is visible at this scope, but it does not reference the same location.