>>270
switch文はif then elsif elsif ...
に相当するものだった

列も2〜20までforで回したら?
for i to lastrow
for j = 2 to 20
if 条件 then
endif
next j
next i