Can an input prompt just be given for the first line of a three line center header? How would you put in the rest of the script so that one is not having to "input" it each time too?
Domski replied to a previous post from a similarly posed question in 2012 wherein the following code was given in his answer:
What if you only want an input prompt for the subject of a three line center header such as in:
(Prompt for subject)
For Month Ended
November 30, 2016
My macro header is used for many workbooks, so the only thing that is consistent is the "For Month Ended" and the date scripts. Although I do have to go in to the code and change the date when a new month has arrived, I know of no other way to do this since I wouldn't want to have to type it in at each input prompt either.
Thanks!
Bookmarks