Issues with macros and formulas in Excel

前端 未结 2 610
攒了一身酷
攒了一身酷 2020-12-22 06:03

I\'m having problems when inserting a formula from a macro in Excel. I managed to insert exactly the same value that I have on another cell where the formula is working perf

2条回答
  •  半阙折子戏
    2020-12-22 06:40

    Thanks for your replies!!!

    Using FormulaLocal works great!!! What I did was to "translate" the functions names and done!

    Cells(LastRow + 1, 3).Formula = "=IFERROR(VLOOKUP(" & "B" & laststr & " , Datos!A2:E52, 3), """")"
    

提交回复
热议问题