What I would like to do is set a variable based on a cell value in Excel. I've never done this before and can't seem to find a good reference.
Like:
Like:
Code:
Sub MySub()
Dim mVar as String
If ActiveSheet.Range("A1") = "Cell 200" Then
mVar = I want to set the variable to something like "Week1!A3:A11"
End If
End Sub