Created
May 23, 2019 05:34
-
-
Save ebibibi/f3a056d5977522ff538c9c3cc26cc4bd to your computer and use it in GitHub Desktop.
Excel VBAにてテーブルにレコードを追加
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub AddRecordToTable() | |
| Set 購入リストテーブル = Worksheets("購入").ListObjects("購入リストテーブル") | |
| With 購入リストテーブル.ListRows.Add | |
| .Range(1).Value = "商品名" | |
| .Range(2).Value = "100" | |
| .Range(3).Value = "3" | |
| .Range(4).Value = "300" | |
| End With | |
| End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment