0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Excel VBA入門 #05複数のセルに値を表示してみよう

Posted at

Range()の()内に範囲を指定することで複数セルに値を表示させることが出来ます。

  1. Range("A1", "B3").Value = "hello" ※A1からB3セルまでの6つのセルにhelloを表示
  2. Range("A5:C7").Value = "hello2" ※A5セルからC7セルまでの9つのセルにhello2を表示
  3. Range("4:4").Value = "row4" ※4行目全てにrow4を表示
  4. Range("C:C").Value = "Column C" ※C列目全てにColumn Cを表示

Cells.Clearを実行することですべてのセルの値を削除出来る。

使用教材ドットインストールhttps://dotinstall.com/lessons/basic_excel_vba/22805

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?