Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Getting week number?

Hi

When trying Format(Date, "/yyyy", vbMonday) I cannot see how I can get
the week number for Format?

VB should have this, shouldn't it?

WBR
Sonnich
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Getting week number?

Try this

mMyWeek = CInt(Format(Now(), "ww"))

Mike

"jodleren" wrote:

Hi

When trying Format(Date, "/yyyy", vbMonday) I cannot see how I can get
the week number for Format?

VB should have this, shouldn't it?

WBR
Sonnich

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
Week Number Kam Excel Discussion (Misc queries) 2 August 8th 07 02:08 PM
Week number in vba Sam Excel Programming 5 May 11th 07 02:50 AM
group sales by week and week number Wanna Learn Excel Discussion (Misc queries) 7 November 7th 06 11:44 AM
Week number Pepekobayashi Excel Discussion (Misc queries) 2 June 17th 05 05:31 PM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM


All times are GMT +1. The time now is 07:19 PM.

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"