VBA: Error 9; subscript is out of reach
Solved/Closed
Related:
- VBA: Error 9; subscript is out of reach
- Vba case like - Guide
- Number to words in excel formula without vba - Guide
- Vba check if value is in array - Guide
- Vba color index - Guide
- How to open vba in excel - Guide
3 responses
Noticed this and I think I can help. Your trying to read a sheet that is not there or your not calling it correctly. Say your reading Sheet 3 which is 2 in the sheets collection, or check the spelling.
send a sinpit of code if you cannot get it form here
Dean
send a sinpit of code if you cannot get it form here
Dean
If Sheets("Sheet1").Range("A1") = "JA" Then Sheets(1).Visible = False '"Sheet2" is Sheets(1)
This works for me, I did notice that your JA is not in Quotes
Please dbl check your Sheet ref.
Dean
This works for me, I did notice that your JA is not in Quotes
Please dbl check your Sheet ref.
Dean