The custom format will not work as I need the data to have the date except 
for one special test.
 
This worked so thanks Lalit.
 
Evaluate("=Text(Day(""" & Sheets(RawData).Cells(count, BarDate).Text & 
"""), ""dddd"")")
 
Oddly when I used "Sheet1" instead of RawData which is the same sheet I got 
a subscript out of range but worked fine with the alias.
 

On Tuesday, June 26, 2012 8:47:02 PM UTC-7, tangledweb wrote:

> If I already have Sheets(RawData).Cells(count, BarDate).Text having a 
> value like 6/26/2012 is there a way to get the day of the week as a number 
> or string for that date that does not require splitting it into its parts 
> and feeding them to some function?  If the latter the .net examples I found 
> for that did not make sense to me so how is it done?

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com

Reply via email to