Activate your worksheet which you want to insert and format the date in header or footer, and then click Page Layout button on the lower right corner of the workbook to enable the page layout view, see screenshot:Ģ. Here, I will introduce some simple VBA code for you to solve this task in Excel, please do as follows:ġ. Specify date or date time format in header or footer with VBA code In this case, how could you change the date or date time format to your own need in header or footer as following screenshot shown? Normally, when you insert date or time into the header or footer with the & or & code, the date or time format is based on the regional settings controlled by Windows. ![]() How to specify date or datetime format in header or footer?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |