K
kazzy
Hi VBAers,
Rows are able to be created via a userform via a cmdAdd command
button. My code to add rows works fine but I want to write extra code
to make it check if row 29 has just been saved and then present a
msgbox (stating not allowed to go any further) and ALSO not allow any
further row additions (via the cmdAdd on userform).
I don't know how to make it not allow any further. I suspect I need to
set up variables like currentrow & check if currentrow is row 29 but
I don't know how to go about it.
Can someone please advise how to do this?
Rows are able to be created via a userform via a cmdAdd command
button. My code to add rows works fine but I want to write extra code
to make it check if row 29 has just been saved and then present a
msgbox (stating not allowed to go any further) and ALSO not allow any
further row additions (via the cmdAdd on userform).
I don't know how to make it not allow any further. I suspect I need to
set up variables like currentrow & check if currentrow is row 29 but
I don't know how to go about it.
Can someone please advise how to do this?