I have created a Named Range using the Name Manager. It is called Vol_Check. It is scoped as Workbook.
If it is scoped as workbook, why can I not see it in VBA code from other sheets or ThisWorkbook or Modules. Even when I try to reference it directly, it will not work. Here is a code example that I cannot make work.
Private Sub CommandButton1_Click()
If ThisWorkbook.Sheets("sheet1").Range("Vol_Check").Value <> 1 Then
MsgBox ("Some message ")
End If
End Sub
ThisWorkbook.Range("Vol_Check").valueshould work. Are you getting any errors? Does that range contain multiple cells, or just one? Do you get anything in the "immediate" window when you rundebug.print Range("Vol_Check").value? - JNevill