MS Excel showing the formula in a cell instead of the resulting value

前端 未结 8 1609
不思量自难忘°
不思量自难忘° 2021-02-18 21:13

\"excel

The above image shows 3 cells containing the form

8条回答
  •  半阙折子戏
    2021-02-18 21:42

    If you are using VBA to enter formulas, it is possible to accidentally enter them incompletely:

    Sub AlmostAFormula()
        With Range("A1")
            .Clear
            .NumberFormat = "@"
            .Value = "=B1+C1"
            .NumberFormat = "General"
        End With
    End Sub
    

    A1 will appear to have a formula, but it is only text until you double-click the cell and touch Enter .

    Make sure you have no bugs like this in your code.

提交回复
热议问题