エクセルマクロVBA サンプルコード辞書
トップページ(目次)
359.月末を取得する_今月
<実行前後>
→
Sub 月末を取得する_今月() '0で前月月末になる(今日:2022/02/13) MsgBox DateSerial(Year(Date), Month(Date) + 1, 0) End Sub
Copyright © 2021 https://excel3000.web.fc2.com/ All Rights Reserved.