Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BOB
 
Posts: n/a
Default Text(month(now()),"MMMM") deosnt work

Hi to all
Weekday(now()) =2
text(weekday(now()),"DDDD")=Monday
Month(now())=2
But text(month(now()),"MMMM") =January. What am I doing wrong?
Thanks!

  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=TEXT(NOW(),"dddd")
=TEXT(NOW(),"mmmm")

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"BOB" wrote in message
...
Hi to all
Weekday(now()) =2
text(weekday(now()),"DDDD")=Monday
Month(now())=2
But text(month(now()),"MMMM") =January. What am I doing wrong?
Thanks!



  #3   Report Post  
BOB
 
Posts: n/a
Default

Thanks that worksin formula, now how do I put this in code?

Dim mysheet As String
mysheet = (Text(Now(), "MMMM"))
Worksheets(mysheet).Select

Thanks again


"BOB" wrote:

Hi to all
Weekday(now()) =2
text(weekday(now()),"DDDD")=Monday
Month(now())=2
But text(month(now()),"MMMM") =January. What am I doing wrong?
Thanks!

  #4   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Try
mysheet = (Format(Date, "MMMM"))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"BOB" wrote in message
...
Thanks that worksin formula, now how do I put this in code?

Dim mysheet As String
mysheet = (Text(Now(), "MMMM"))
Worksheets(mysheet).Select

Thanks again


"BOB" wrote:

Hi to all
Weekday(now()) =2
text(weekday(now()),"DDDD")=Monday
Month(now())=2
But text(month(now()),"MMMM") =January. What am I doing wrong?
Thanks!



  #5   Report Post  
BOB
 
Posts: n/a
Default

Thanks!

"Arvi Laanemets" wrote:

Hi

Try
mysheet = (Format(Date, "MMMM"))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"BOB" wrote in message
...
Thanks that worksin formula, now how do I put this in code?

Dim mysheet As String
mysheet = (Text(Now(), "MMMM"))
Worksheets(mysheet).Select

Thanks again


"BOB" wrote:

Hi to all
Weekday(now()) =2
text(weekday(now()),"DDDD")=Monday
Month(now())=2
But text(month(now()),"MMMM") =January. What am I doing wrong?
Thanks!




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
4 Day Work Week in a formula EasleyK Excel Discussion (Misc queries) 1 January 29th 05 06:15 AM
Service work order schoolgeek63 Charts and Charting in Excel 1 January 7th 05 08:07 PM
Change Path names in copied work book jheaney Excel Worksheet Functions 2 November 18th 04 07:29 PM
Lookup Doesn't Work spalmarez Excel Worksheet Functions 3 November 9th 04 08:23 PM
How do I ensure dates inputted are during the work week? Jim Johnson Excel Worksheet Functions 3 October 29th 04 08:25 AM


All times are GMT +1. The time now is 08:40 PM.

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"