
テキストボックスは初期状態だと1行しか入力できないのですが、設定で複数行入力できるようになります。
例
たとえば、このようなフォームにテキストボックス(textMemo)が貼り付けてあるとします。
このテキストボックスを複数行入力できるようにするには次ように設定を行います。
Private Sub Form_Load() Me.textMemo.EnterKeyBehavior = True End Sub
実行結果

スポンサーリンク
2017年11月27日 (月) 22:00 in Access , VBA
Private Sub Form_Load() Me.textMemo.EnterKeyBehavior = True End Sub
スポンサーリンク