Hi would like to add a condition to the below code, when the code filtersinplace but there is no data to filter then do no proceed in copying to destination.
ShtTemp.Range("A5").CurrentRegion.AdvancedFilter Action:=xlFilterInPlace, _
Criteriarange:=Range("rngAsset"), Unique:=False
ShtTemp.Range("A5").CurrentRegion.Offset(1).Resize(, 14).Copy Destination:=shtAsset.Range("A6")
ShtTemp.Range("A5").CurrentRegion.AdvancedFilter Action:=xlFilterInPlace, _
Criteriarange:=Range("rngAsset"), Unique:=False
ShtTemp.Range("A5").CurrentRegion.Offset(1).Resize(, 14).Copy Destination:=shtAsset.Range("A6")