Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In VBA:
Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Cue
You can use UCase UCase(Format(Date, "MMM")) -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Cue" wrote in message ... In VBA: Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
Sheets("APRIL (2)").Name = Ucase(Format(Date, "MMM")) -- Biff Microsoft Excel MVP "Cue" wrote in message ... In VBA: Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perfect. Thanks again!
-- Cue "T. Valko" wrote: Try this: Sheets("APRIL (2)").Name = Ucase(Format(Date, "MMM")) -- Biff Microsoft Excel MVP "Cue" wrote in message ... In VBA: Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perfect. Thanks!
-- Cue "Ron de Bruin" wrote: Hi Cue You can use UCase UCase(Format(Date, "MMM")) -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Cue" wrote in message ... In VBA: Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome!
-- Biff Microsoft Excel MVP "Cue" wrote in message ... Perfect. Thanks again! -- Cue "T. Valko" wrote: Try this: Sheets("APRIL (2)").Name = Ucase(Format(Date, "MMM")) -- Biff Microsoft Excel MVP "Cue" wrote in message ... In VBA: Sheets("APRIL (2)").Name = Format(Date, "MMM") The result is May. But I want May with upper case letters, MAY. How can I achieve this? -- Cue |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using COUNTIF and VLOOKUP with upper and lower case letters | Excel Worksheet Functions | |||
How to change lower to upper case letters? | Excel Discussion (Misc queries) | |||
Formatting Upper Case letters | Excel Worksheet Functions | |||
How do I create upper/lower case letters in cells? | Excel Discussion (Misc queries) | |||
How do I convert all upper case excel sheet into upper and lower . | Excel Discussion (Misc queries) |