Skip to content

Instantly share code, notes, and snippets.

@kureikei
Created March 26, 2015 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kureikei/2b24a40f853218b50a3d to your computer and use it in GitHub Desktop.
Save kureikei/2b24a40f853218b50a3d to your computer and use it in GitHub Desktop.
Sub Main()
Dim Verse(3) As String, r As Integer, c As Integer, i As Integer, j As Integer
Pix = 40
With Cells
.Font.Name = "HGP行書体"
.Font.Size = "20"
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.RowHeight = Pix * 0.75
.ColumnWidth = Pix * 0.118
End With
Verse(1) = "古池や"
Verse(2) = "蛙飛び込む"
Verse(3) = "水の音"
For i = 1 To UBound(Verse)
For j = 1 To Len(Verse(i))
Cells(j, UBound(Verse) - i + 1) = Mid(Verse(i), j, 1)
Next
Next
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment