hakeの日記

Windows環境でプログラミングの勉強をしています。

2016-02-05から1日間の記事一覧

EXCEL VBAメモ - 構造体の定義と使用

Option Explicit Type MyStruct val As Long str As String End Type Sub foo() Dim a As MyStruct a.val = 10 a.str = "abcd" MsgBox a.val & a.str End Sub