Vba format cell as date

Private sub commandbutton1_click () Date date1 as string date1 = format (dates, "dd / mm / yyyy") worksheets ("sheet1"). Cells.range ("b1") = date1 in our vba numberformat tutorial we discussed the Formatting the number for easier readability. In this tutorial, we will see the formatting of the VBA date in a similar way. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download