I used mikerickson code suggestion (2nd listed code suggestion in the original reply post). It worked fine…, until I tried to account for a null value if the user just hit the OK button - without entering any number. When I entered this code I get a Runtime Error 13 “Type mismatch”.
When I look up Error 13 on the internet it sounds as if my I need to download Microsoft’s Service Pack 3. Does anyone have experience with this? – Perhaps it is something wrong with my coding after all, and there is no need for trying to locate MS Service Pack3? In other words, is there a handy work-around? Thanks.
This is the line Excel finds a bug with:
I have attached a copy of the work book and Word Doc of the error code. I also copied and pasted the relevant code below.
Bookmarks