Home > front end >  What does FormulaVersion do in Range.Replace
What does FormulaVersion do in Range.Replace

Time:10-29

What does the FormulaVersion-parameter in Range.Replace do? I tried looking it up in enter image description here

CodePudding user response:

Based on my limited testing, if you use xlReplaceFormulas then any dynamic array formulas that have a replacement made are converted to use the @ operator and no longer spill. Using xlReplaceFormulas2 leaves them as spilling formulas. If you are trying to remove the @ operator, you have to use xlReplaceFormulas2 or it just gets put back.

  • Related