Sub Macro1()
i = 3: j = 2
Worksheets("Sheet1").Cells(i, j).Value = 3.5
s = Worksheets("Sheet1").Cells(i, j).Formula
x = Worksheets("Sheet1").Cells(i, j).Value
Debug.Print "s=" & s
Debug.Print "x=" & x
dp = 1
End Sub


s=3.5 x=3.5 i=5 ?i 5(14)「イミディエイトウィンドウ」では、変数の表示だけでなく、値の変更が可能です。