I'm having a bit of a struggle trying to construct this code.
I realised I don't have any error trapping in the code and am looking to add a message box if the loop doesn't find the value entered into the userform label. The code is basically something along the following lines and am not sure how to put the message box in the code (maybe I'm just being bit thick but I can't get my head around the lop until end but no values found, some help would be great).
[CODE]
For each C in range
with sheet1
paste some values somewhere
end with
find bottom row in range
with sheet 2
paste some values somewhere on bottom row
end with
next c
userform1.hide
msgbox "all done"
[\CODE]
Bookmarks