2023-09-01から1ヶ月間の記事一覧

ワード

Sub FindAndOperateTables() Dim doc As Document Set doc = ActiveDocument ' ワード文書内のテーブルをループ処理 For Each tbl In doc.Tables ' テーブル内のテキストを取得 Dim cellText As String cellText = tbl.Range.Text ' テキストに「うんち」が…