Thread: help with macro
View Single Post
  #13   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones[_2_] Norman Jones[_2_] is offline
external usenet poster
 
Posts: 421
Default help with macro

Hi Rick,

=============
Change:

"Other Shifts " _
& Format(Now, "dd-mmm-yy") '<<==== CHANGE


to
Format(Now, "dd-mmm-yy")


I don't think so... notice the line continuation character (the trailing
underbar character) on the preceding line... the & is there to concatenate
the output from the Format command with that preceding continued line.
=============

I was responding. belatedly, to the
OP's request:

Thanks for your response, I need the footers in both sheets to be
different,
sheet 1 relief shifts and date

Sheet 8 only the date


The instruction:

Format(Now, "dd-mmm-yy")

returns a date string of the type

30-Apr-08

- as requested.

What do you disagree with precisely




---
Regards.
Norman