Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cue Cue is offline
external usenet poster
 
Posts: 47
Default Renaming Sheet Tab to Upper Case Letters

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Renaming Sheet Tab to Upper Case Letters

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Renaming Sheet Tab to Upper Case Letters

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   Report Post  
Posted to microsoft.public.excel.misc
Cue Cue is offline
external usenet poster
 
Posts: 47
Default Renaming Sheet Tab to Upper Case Letters

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   Report Post  
Posted to microsoft.public.excel.misc
Cue Cue is offline
external usenet poster
 
Posts: 47
Default Renaming Sheet Tab to Upper Case Letters

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Renaming Sheet Tab to Upper Case Letters

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
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
Using COUNTIF and VLOOKUP with upper and lower case letters mcilwrk Excel Worksheet Functions 5 May 22nd 07 01:24 AM
How to change lower to upper case letters? Sigi Rindler Excel Discussion (Misc queries) 1 November 25th 06 09:33 AM
Formatting Upper Case letters Greegan Excel Worksheet Functions 2 January 29th 06 06:15 AM
How do I create upper/lower case letters in cells? boz130 Excel Discussion (Misc queries) 1 September 14th 05 06:23 PM
How do I convert all upper case excel sheet into upper and lower . DebDay Excel Discussion (Misc queries) 1 March 9th 05 08:31 PM


All times are GMT +1. The time now is 12:24 AM.

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

About Us

"It's about Microsoft Excel"