列に入力された年月の使用

Excelセル内に入力された、201904という年月使用し、
日付を操作することは可能でしょうか?

A列に201904、201905・・・と入力してあり、それぞれをフィルタリングして
別ファイルの4月、5月…の月別シートに貼り付けたいです。

@kunie

Yes, its possible. Please try below way to do this.

Datetime.parseexact(row(“ColumnName”).Tostring,“yyyyMM”,system.globalization.cultureinfo.invariantculture).tostring(“MMMM”)

Thank you so much.
The problem is solved.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.