I made a thread earlier trying to find ways to solve this and as it stands this is the only way I have managed to get the code half working.
For some reason only one of the buttons works, OptionButton1 when I click OptionButton2 nothing happens and the code just runs through without ever doing the code that is related to OptionButton2.
Any suggestions ?
Code:
If OptionButton2 = True Or OptionButton1 = False Then
SoftPlot.Set_Marker 1, "ON"
SoftPlot.Set_Marker_Style 1, "TRACE", 1
SoftPlot.Set_Marker_X 1, (Val(MarkerInput.TextBox1.Text) * 10 ^ 9)
SoftPlot.Set_Marker_Colour 1, "GREEN"
ElseIf OptionButton1 = True Or OptionButton2 = False Then
SoftPlot.Set_Marker 1, "ON"
SoftPlot.Set_Marker_Style 1, "TRACE", 1
SoftPlot.Set_Marker_X 1, (Val(MarkerInput.TextBox1.Text) * 10 ^ 6)
SoftPlot.Set_Marker_Colour 1, "GREEN"
End If
For some reason only one of the buttons works, OptionButton1 when I click OptionButton2 nothing happens and the code just runs through without ever doing the code that is related to OptionButton2.
Any suggestions ?