Is there a way (function or formula) to display only the current month in the header? I know I can display the current date, but I need it to display only the current month. Thanks.
Is there a way (function or formula) to display only the current month in the header? I know I can display the current date, but I need it to display only the current month. Thanks.
![]()
=month(now())
"The quieter you become, the more you are able to hear"
Any reputation (*) points appreciated.
"If you know yourself but not the enemy, for every victory gained, you will suffer defeat."
That works in the spreadsheet, but when I try to put it in the header all it shows is the formula, not the result.
What header do you mean? I don't get it
The header - click INSERT tab at the top, click HEADER & FOOTER on the TEXT toolbox. Click to add header. This is where I want to have the current month displayed.
Should do the trick.![]()
Sub foo() With ActiveSheet.PageSetup .LeftHeader = Format(Now, "MMM") End With End Sub
This works fine, thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks