Good morning,
The problem I have is the following. After making a filter with criteria other than N / A, I am placed in the first filtered cell to perform a VLOOKUP. This operation is performed perfectly, the problem is as soon as I want to do an Autofill or Filldown which only makes a change from the first cell to N / A in the form of a general text.
I attach the code for your review
ActiveSheet.Range("$A$1:$K$1113").AutoFilter Field:=10, Criteria1:="<>#N/A" _
, Operator:=xlAnd
ActiveSheet.AutoFilter.Range.Offset(1).Columns(9).SpecialCells(xlCellTypeVisible)(1).Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC10,[Contratos.xls]Feuil1!R2C1:R738C2,2,0)"
Application.Calculation = xlAutomatic
Selection.FillDown
Does anyone know what the problem may be? Thank you very much in advance.