I have the following inputbox I need to add a function to the inputbox function so that when I click on cancel the subroutine ends. I would appreciate any help.
Code:
myNum2 = Application.InputBox(prompt:="Enter 1 for PBK and PBO type codes 2 for assembly 3 for PAQ3000 codes", Title:="Enter Code", Type:=1)