Add tags

Add tags to the following comment

VBA for Excel (2003) カラムAに縦に並べて数値を入れておくと、 カラムBに差分を表示する。

1
2
3
4
Sub Main()
    Range("B1") = "=IF(ISBLANK(A2),"""",A2-A1)"
    Range("B1").Resize(Range("A1").End(xlDown).Row).FillDown
End Sub

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...