title: Excel VBA to print the date and page number in the header and footer
body: <p>I would like that whenever my page prints on the top left corner for the date to be printed and the bottom left for the page number.</p>
  
  <p>How can this be done using the head command in excel.</p>
  
  <p>Head = "value of the date"</p>
  
  <p>and </p>
  
  <p>Foot = "Page number"</p>
  
  <p>I know there are other ways to do this however I was asked to do this using specifically these functions.</p>