Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select Case error
#2
(12-14-2023, 04:39 PM)Dimster Wrote: [Image: Error-using-Select-Case.png]

picture sharing

I have run into a situation where the IDE is showing an error in my use of a Select Case. I have 4 cases the last one being Case "Extreme". Attached is a clip of the code and warning box. Normally this would mean I have missed an End IF or a Next but at the moment I can't seem to find it.. I'll keep looking but my question here is that mysterious "7" which you see in the warning box which highlights Case "Extreme" , 7 .... there is no 7 on that case line. Any idea what that 7 means and if it may be pointing me to where I need to address the problem?

Looks like you're missing the next for the "For g = 1 to 8" loop. (The first instance of that line not the second lower down...)
Reply


Messages In This Thread
Select Case error - by Dimster - 12-14-2023, 04:39 PM
RE: Select Case error - by NakedApe - 12-14-2023, 04:50 PM
RE: Select Case error - by MasterGy - 12-14-2023, 07:05 PM
RE: Select Case error - by Dimster - 12-14-2023, 05:37 PM
RE: Select Case error - by NakedApe - 12-14-2023, 07:02 PM
RE: Select Case error - by SMcNeill - 12-14-2023, 07:39 PM
RE: Select Case error - by mnrvovrfc - 12-14-2023, 08:08 PM
RE: Select Case error - by SMcNeill - 12-14-2023, 08:59 PM
RE: Select Case error - by Dimster - 12-15-2023, 01:20 PM
RE: Select Case error - by SpriggsySpriggs - 12-15-2023, 03:00 PM



Users browsing this thread: 1 Guest(s)