i get a run time error when compiling a code and it points to this code below. Basically i need it to will only run it if you have 3 or more lines filled out on the form. if you have 2 it won't. Any help as to what could be done to change it so it can read 1 or 2 lines also.



.Range("B2").AutoFill Destination:=.Range("B2:B" & Lastrow) _
    , Type:=xlFillDefault