sub macro1()
dim a,res,i
’具体的なファイル名の付け方は別途工夫する事
open "E:\一覧用\test.csv" for output as #1
for i = 1 to 12
a = application.transpose(range(cells(i, "A"), cells(i, "J")).value)
res = join(application.transpose(a), ",")
print #1, res
next i
close #1
end sub
みたいな。