I have the below code on a userform, when I pressed enter (if inputbox 'squaretotal' is empty, then it bring out the debugger.
Please Login or Register to view this content.
I have the below code on a userform, when I pressed enter (if inputbox 'squaretotal' is empty, then it bring out the debugger.
Please Login or Register to view this content.
?
Please Login or Register to view this content.
I tried that but may be its not that part of the code, i have attached a sample workbook and in this line is where the debugger comes highlighted:
everything else works fine, its just when pressing "Enter" and the inputbox 'SquareTotal' if its empty it bring out the debugger, and i just want it to exit userform or messagebox only if its emtpy.Please Login or Register to view this content.
Last edited by chubbychub; 04-28-2023 at 07:17 PM.
What exactly is the problem described in this topic ?
if inputbox 'SquareTotal' is empty, and 'enter' is pressed, it gives error (bring out the debugger)
i want it to if value is empty, and enter is press, to give out a messagebox
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks