Hi,
 
Try this revised formula as my last post contain some error
Evaluate("=Text(Day(""" & Sheets("Sheet1").Cells(count, BarDate).Text & 
"""), ""dddd"")")
 
Hope it helps you
 
Regards,
Lalit Mohan

On Wednesday, 27 June 2012 11:59:36 UTC+5:30, Lalit_Mohan wrote:

> Hi,
>  
> Try this.
>  
> Evaluate("=Text(Day(Sheets("Sheet1").Cells(count, BarDate).value), 
> ""dddd"")") 
>  
> Regards,
> Lalit Mohan
>
> On Wednesday, 27 June 2012 10:13:06 UTC+5:30, tangledweb wrote:
>
>> I believe this is the equivalent of your second new solution?
>> Evaluate("=Text(Day(Sheets(RawData).Cells(count, BarDate).Text), 
>> ""dddd"")")       
>> I tried it with and without the .text part.   Both cases returned error 
>> 2015 though I have a 4 digit year and the form is month/day/year which is 
>> supposed to be what it wants.
>>
>> On Tuesday, June 26, 2012 9:30:29 PM UTC-7, Lalit_Mohan wrote:
>>
>>>  Hi,
>>>  
>>> You can try this
>>> Evaluate("=TEXT(DAY(A1),""dddd"")")
>>>  
>>> Hope it helps you
>>>  
>>>  Regards,
>>> Lalit Mohan
>>>
>>> On Wednesday, 27 June 2012 09:45:46 UTC+5:30, tangledweb wrote:
>>>
>>>> This seems to be designed to work directly in excel instead of a VB 
>>>> program.  I tried to use it without the = but it said the function TEXT 
>>>> was 
>>>> not defined.
>>>> I need a method that works in a VB program with the value 6/26/2012 
>>>> stored in the array previously listed.
>>>>
>>>> On Tuesday, June 26, 2012 9:01:08 PM UTC-7, Lalit_Mohan wrote:
>>>>
>>>>> Hi,
>>>>>  
>>>>> You can try this
>>>>> =TEXT(DAY(A1),"dddd")
>>>>>  
>>>>> Hope it helps you
>>>>>  
>>>>> Regards,
>>>>> Lalit Mohan
>>>>>
>>>>> On Wednesday, 27 June 2012 09:17:02 UTC+5:30, 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