Please help a newbie :confused:
I have a case statement with multiple triggers and I need to know which value is the case statement handling
The code inside the statement runs
Select Case Values(0)
Case Is = 8, 81, 82, 83, 84, 86
Select Case str_ProcessSelected
Case is = 1
This code runs well
Case is = 2
This code runs well
end select
Case = 85
Select Case str_ProcessSelected
Case is = 1
This code runs well
Case is = 2
This code runs well
end select
end select
NewTextFile = (active_value + "," + SourcePath + "," + TargetPath)
The variable "active_value" needs to be either 8 or 81 or 82 or 83 or 84 or 85 or 86
how can I find out what number triggered the event and therefore be able to use it in the above statement. This has been bugging me for weeks . If this can't be done, this section of code will expand from 1 page to 14 pages. Please, Please, Please someone come up with the answer. I thank you all in advance for your time, effort, and replies.
I have a case statement with multiple triggers and I need to know which value is the case statement handling
The code inside the statement runs
Select Case Values(0)
Case Is = 8, 81, 82, 83, 84, 86
Select Case str_ProcessSelected
Case is = 1
This code runs well
Case is = 2
This code runs well
end select
Case = 85
Select Case str_ProcessSelected
Case is = 1
This code runs well
Case is = 2
This code runs well
end select
end select
NewTextFile = (active_value + "," + SourcePath + "," + TargetPath)
The variable "active_value" needs to be either 8 or 81 or 82 or 83 or 84 or 85 or 86
how can I find out what number triggered the event and therefore be able to use it in the above statement. This has been bugging me for weeks . If this can't be done, this section of code will expand from 1 page to 14 pages. Please, Please, Please someone come up with the answer. I thank you all in advance for your time, effort, and replies.