ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date format in Header (https://www.excelbanter.com/excel-discussion-misc-queries/61802-date-format-header.html)

Dr. Sachin Wagh

Date format in Header
 
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH

Bob Phillips

Date format in Header
 
with vba

ActiveSheet.PageSetup.LeftHeader = Format(Date, "dd mm yy")


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Dr. Sachin Wagh" wrote in message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH




R.VENKATARAMAN

Date format in Header
 
highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH




Dr. Sachin Wagh

Date format in Header
 
Thanx Venkataraman
Could you please elaborate on this 'highlight Header/ Footer'
My purpose is to have 'system date' automatically updated in the header
(with the said format)

Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"R.VENKATARAMAN" wrote:

highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH





Peo Sjoblom

Date format in Header
 
Filepage setupheader/footer or viewheader and footer, select custom,
select the date icon

--
Regards,

Peo Sjoblom

(No private emails please)


"Dr. Sachin Wagh" wrote in message
...
Thanx Venkataraman
Could you please elaborate on this 'highlight Header/ Footer'
My purpose is to have 'system date' automatically updated in the header
(with the said format)

Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"R.VENKATARAMAN" wrote:

highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in
message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH






Dr. Sachin Wagh

Date format in Header
 
Probably the question is not understood properly. I need the System Date in
the header in DD MM YY format, which should be updated automatically
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Peo Sjoblom" wrote:

Filepage setupheader/footer or viewheader and footer, select custom,
select the date icon

--
Regards,

Peo Sjoblom

(No private emails please)


"Dr. Sachin Wagh" wrote in message
...
Thanx Venkataraman
Could you please elaborate on this 'highlight Header/ Footer'
My purpose is to have 'system date' automatically updated in the header
(with the said format)

Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"R.VENKATARAMAN" wrote:

highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in
message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY) for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH






Bob Phillips

Date format in Header
 
Not understood because it was not stated as such.

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftHeader = Format(Date, "dd mm yy")
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Dr. Sachin Wagh" wrote in message
...
Probably the question is not understood properly. I need the System Date

in
the header in DD MM YY format, which should be updated automatically
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Peo Sjoblom" wrote:

Filepage setupheader/footer or viewheader and footer, select custom,
select the date icon

--
Regards,

Peo Sjoblom

(No private emails please)


"Dr. Sachin Wagh" wrote in

message
...
Thanx Venkataraman
Could you please elaborate on this 'highlight Header/ Footer'
My purpose is to have 'system date' automatically updated in the

header
(with the said format)

Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"R.VENKATARAMAN" wrote:

highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in
message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY)

for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH








Dr. Sachin Wagh

Date format in Header
 
Thanx a ton Bob!
I was responding to Venkataraman in my earlier reply

Your suggestion did the trick!

--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Bob Phillips" wrote:

Not understood because it was not stated as such.

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftHeader = Format(Date, "dd mm yy")
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Dr. Sachin Wagh" wrote in message
...
Probably the question is not understood properly. I need the System Date

in
the header in DD MM YY format, which should be updated automatically
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Peo Sjoblom" wrote:

Filepage setupheader/footer or viewheader and footer, select custom,
select the date icon

--
Regards,

Peo Sjoblom

(No private emails please)


"Dr. Sachin Wagh" wrote in

message
...
Thanx Venkataraman
Could you please elaborate on this 'highlight Header/ Footer'
My purpose is to have 'system date' automatically updated in the

header
(with the said format)

Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"R.VENKATARAMAN" wrote:

highlight header/footer
format cells custom
and type in reference
dd mm yy
click ok
==============
"Dr. Sachin Wagh" wrote in
message
...
Hi!
Is is possible to have a customized format of Date (say, DD MM YY)

for
Header/ Footer in Excel

Thanx
--
Dr. Sachin Wagh
MBBS, DHA, DPH










All times are GMT +1. The time now is 06:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com