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 3 years have passed since last update.

Excel VBAで日付を0埋めする方法

Posted at

#日付を0埋めする方法

2020年02月02日06時04分01秒

↓↓これを
202022641

↓↓ こんな感じにする
20200202060401

###サンプル
Right("0" & Month(Date), 2)

Right("頭埋め文字" & 数値, 桁数)
Right(String(桁数-1, "頭埋め文字") & 数値, 桁数)

0
0
2

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?