Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help with dates


I want to refer to a cell that contains a function to display today
date (7/20/05) and have the result be the day of the week (Wednesday)
I'm trying to do this in VBA. Thanks for your help

--
juster2
-----------------------------------------------------------------------
juster21's Profile: http://www.excelforum.com/member.php...fo&userid=2539
View this thread: http://www.excelforum.com/showthread.php?threadid=38865

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default help with dates

format(range("a1"),"dddd")

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"juster21" wrote in
message ...

I want to refer to a cell that contains a function to display todays
date (7/20/05) and have the result be the day of the week (Wednesday).
I'm trying to do this in VBA. Thanks for your help.


--
juster21
------------------------------------------------------------------------
juster21's Profile:
http://www.excelforum.com/member.php...o&userid=25393
View this thread: http://www.excelforum.com/showthread...hreadid=388654



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default help with dates

If it's today's date, why bother with the cell

Format(Date,"dddd")

--
HTH

Bob Phillips

"Niek Otten" wrote in message
...
format(range("a1"),"dddd")

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"juster21" wrote

in
message ...

I want to refer to a cell that contains a function to display todays
date (7/20/05) and have the result be the day of the week (Wednesday).
I'm trying to do this in VBA. Thanks for your help.


--
juster21
------------------------------------------------------------------------
juster21's Profile:
http://www.excelforum.com/member.php...o&userid=25393
View this thread:

http://www.excelforum.com/showthread...hreadid=388654





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
Linking computer dates (time) to spreadsheet dates that have formu bigisle Excel Worksheet Functions 3 January 3rd 10 08:05 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Toggle a range of Julian dates to Gregorian Dates and Back PSKelligan Excel Programming 4 May 8th 07 05:51 AM
Identifying unique dates in a range of cells containing dates... cdavidson Excel Discussion (Misc queries) 4 October 13th 06 03:30 PM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM


All times are GMT +1. The time now is 09:38 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"