Villalobos
Active Member
Hello,
I would like to ask that how is it possible return blank cell if the result of worksheet function is 0?
	
	
	
		
Thank you for your help!
				
			I would like to ask that how is it possible return blank cell if the result of worksheet function is 0?
		Code:
	
	With Sheets("Evaluation")
Lastrow = .Cells(.Rows.count, "B").End(xlUp).Row
  .Range("AN9:AP" & Lastrow).ClearContents
  .Range("AN9:AN" & Lastrow) = WorksheetFunction.IfError(Application.VLookup(rng1, rng2.CurrentRegion, 2, False), "")
  .Range("AO9:AO" & Lastrow) = WorksheetFunction.IfError(Application.VLookup(rng1, rng2.CurrentRegion, 3, False), "")
  .Range("AP9:AP" & Lastrow) = WorksheetFunction.IfError(Application.VLookup(rng1, rng2.CurrentRegion, 4, False), "")
End WithThank you for your help!
 
	