Thanks so much Per Jessen,
Do you have any idea to solve this? The data can have one row or more than
that. I can not predict it.
Should I use the If ...then...else statement?
like, If lngLastRow 2 then
Range("M2:X2").Select
Selection.AutoFill Destination:=Range("M2:X" & lngLastRow)
Thanks
-----------------------------------------------------------------------------
Less Spam Better enjoyable experience
Visit :
news://spacesst.com