Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve J. Vaughan
 
Posts: n/a
Default Excel Date in uppercase

Please help

I have a date if a cell in Excel, which when formatted the month is in lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
AFAIK not possible with formtas to change this

--
Regards
Frank Kabel
Frankfurt, Germany

Steve J. Vaughan wrote:
Please help

I have a date if a cell in Excel, which when formatted the month is
in lower case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You would need either a help column and a formula

=UPPER(A1)

or a macro


Sub UpCase()
Application.DisplayAlerts = False
Dim R As Range
For Each R In Selection.Cells
If R.HasFormula Then
R.Formula = "=UPPER(" & Mid(R.Formula, 2) & ")"
Else
R.Value = UCase(R.Value)
End If
Next
Application.DisplayAlerts = True
End Sub


press Alt + F11, click insert module and paste in the above,
press At + Q to close the VBE, select the text and press Alt + F8 to run the
macro
--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?



  #4   Report Post  
Niek Otten
 
Posts: n/a
Default

=UPPER(TEXT(TODAY(),"ddmmmyy"))

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?



  #5   Report Post  
Steve J. Vaughan
 
Posts: n/a
Default

Thanks for your quick reply however both methods result in the same format of
the date in a numerical form.
'38331.654837963'

I thought it would be a long shot, thanks again for trying.

"Peo Sjoblom" wrote:

You would need either a help column and a formula

=UPPER(A1)

or a macro


Sub UpCase()
Application.DisplayAlerts = False
Dim R As Range
For Each R In Selection.Cells
If R.HasFormula Then
R.Formula = "=UPPER(" & Mid(R.Formula, 2) & ")"
Else
R.Value = UCase(R.Value)
End If
Next
Application.DisplayAlerts = True
End Sub


press Alt + F11, click insert module and paste in the above,
press At + Q to close the VBE, select the text and press Alt + F8 to run the
macro
--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?






  #6   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Steve,

=UPPER(TEXT(A1,"ddmmmyy"))

HTH,
Bernie
MS Excel MVP

"Steve J. Vaughan" wrote in
message ...
Thanks for your quick reply however both methods result in the same format

of
the date in a numerical form.
'38331.654837963'

I thought it would be a long shot, thanks again for trying.

"Peo Sjoblom" wrote:

You would need either a help column and a formula

=UPPER(A1)

or a macro


Sub UpCase()
Application.DisplayAlerts = False
Dim R As Range
For Each R In Selection.Cells
If R.HasFormula Then
R.Formula = "=UPPER(" & Mid(R.Formula, 2) & ")"
Else
R.Value = UCase(R.Value)
End If
Next
Application.DisplayAlerts = True
End Sub


press Alt + F11, click insert module and paste in the above,
press At + Q to close the VBE, select the text and press Alt + F8 to run

the
macro
--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?






  #7   Report Post  
Steve J. Vaughan
 
Posts: n/a
Default

Thanks Niek

That works great

"Niek Otten" wrote:

=UPPER(TEXT(TODAY(),"ddmmmyy"))

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?




  #8   Report Post  
Don Guillett
 
Posts: n/a
Default

PRE-format column 1 as text. right click sheet tabview codecopy/paste
this. SAVE. Now when you input a date such as 4/1 you will get 1APRIL2004.
Modify to suit.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column < 1 Then Exit Sub
Application.EnableEvents = False
Target = Day(Target) & UCase(Format(Target, "mmm")) & Year(Target)
Application.EnableEvents = True
End Sub

--
Don Guillett
SalesAid Software

"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in

lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?



  #9   Report Post  
Steve J. Vaughan
 
Posts: n/a
Default

Thanks Bernie

Working great now


"Bernie Deitrick" wrote:

Steve,

=UPPER(TEXT(A1,"ddmmmyy"))

HTH,
Bernie
MS Excel MVP

"Steve J. Vaughan" wrote in
message ...
Thanks for your quick reply however both methods result in the same format

of
the date in a numerical form.
'38331.654837963'

I thought it would be a long shot, thanks again for trying.

"Peo Sjoblom" wrote:

You would need either a help column and a formula

=UPPER(A1)

or a macro


Sub UpCase()
Application.DisplayAlerts = False
Dim R As Range
For Each R In Selection.Cells
If R.HasFormula Then
R.Formula = "=UPPER(" & Mid(R.Formula, 2) & ")"
Else
R.Value = UCase(R.Value)
End If
Next
Application.DisplayAlerts = True
End Sub


press Alt + F11, click insert module and paste in the above,
press At + Q to close the VBE, select the text and press Alt + F8 to run

the
macro
--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Steve J. Vaughan" wrote in
message ...
Please help

I have a date if a cell in Excel, which when formatted the month is in
lower
case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?






  #10   Report Post  
Steve J. Vaughan
 
Posts: n/a
Default

Thanks Frank

See below

"Frank Kabel" wrote:

Hi
AFAIK not possible with formtas to change this

--
Regards
Frank Kabel
Frankfurt, Germany

Steve J. Vaughan wrote:
Please help

I have a date if a cell in Excel, which when formatted the month is
in lower case. 15Dec04
how do I change it so that the date appears in upper case 15DEC04?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel Default date for date format smurphy123 Excel Discussion (Misc queries) 3 January 23rd 05 09:39 PM
In Excel 2003, entering date without slashes, the date is incorre. sj Excel Discussion (Misc queries) 6 January 6th 05 03:07 PM
Excel 2003 "File Open": how keep folders at top with sort by Date. Aging Analyst Excel Discussion (Misc queries) 1 December 3rd 04 03:26 AM
Creating a Date Selector in Excel VBA? Mark Excel Discussion (Misc queries) 0 November 25th 04 10:59 PM


All times are GMT +1. The time now is 06:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"