LoginSignup
0
0

More than 1 year has passed since last update.

WordVBA 少し触ってみた

Posted at

Outlookのメール送信イベントからメール本文(画像付き)をWordに転記して
やりとりを管理したい

WordVBAがさっぱりわからないのでマクロの記録から欲しいものをピックアップ

ひとまず区切り線と日付くらい挿入したい

コード 標準モジュール(Word)

Sub 水平線と日付挿入()

  Dim myDate: myDate = Date
  Selection.InlineShapes.AddHorizontalLineStandard
  Selection.TypeText Text:=myDate
  Selection.TypeParagraph


End Sub
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0