回答編集履歴

1

追記

2020/09/14 03:56

投稿

hatena19
hatena19

スコア34075

test CHANGED
@@ -17,3 +17,23 @@
17
17
  End With
18
18
 
19
19
  ```
20
+
21
+
22
+
23
+ Join と Transpose を使うなら、
24
+
25
+ ```vba
26
+
27
+ With Application
28
+
29
+ For Each h In Range("A1:A" & Range("A65536").End(xlUp).Row)
30
+
31
+ buf = Join(.Transpose(.Transpose(h.Resize(1, 3).Value)), ",")
32
+
33
+ Print #1, buf
34
+
35
+ Next
36
+
37
+ End With
38
+
39
+ ```