AnsweredAssumed Answered

Error shown when macro code is run

Question asked by Binish Mohan on Aug 12, 2020
Latest reply on Aug 12, 2020 by Binish Mohan

Hi everyone, my aim is to create a macro code where the user can select one of the radio buttons and from there the code will be executed accordingly. The two options are semi-circular and non-circular workpiece, seen in the first screenshot below. The code seems to work fine for non-circular workpiece but when I run the semi-circular workpiece option, there is an error shown, as seen in the second screeshot. Do help me out on this. The semi-circular workpiece is radio button number 1. You can scroll down the code to see the statement "ElseIf OptionButton1.Value = True Then....."   I have attached the macro code as well as the semi-circular parts. Appreciate with all the help I can get