Rajan

can u please explain this code in detail? becuase $b1 is a column heading
and can never be ec ? right?

On Sun, Sep 16, 2012 at 7:07 AM, Prince Dubey <prince141...@gmail.com>wrote:

> Hi Rajan,
>
> I like your solution, But i feel you have to modify it so that it can work
> for the dynamic name ranges as rasid mentioned in his last post.
>
>
> regards
> prince
>
>
> On Sunday, September 16, 2012 12:30:09 PM UTC+5:30, Rajan_Verma wrote:
>
>> *It can be done without code **J***
>>
>> * *
>>
>> *See the attached file..*
>>
>> * *
>>
>> *I am using custom conditional formatting with the below function *
>>
>> * *
>>
>> *=OR(AND($B2="Ec",$B3="RTG",G2=G3,G2<>"",G3<>""),AND($B1="Ec"
>> ,$B2="RTG",G1=G2,G1<>"",G2<>""))*
>>
>> * *
>>
>> *On Range  =$G$2:$AC$117*
>>
>> * *
>>
>> *Hope it will be helpful.*
>>
>> * *
>>
>> * *
>>
>> *Regards*
>>
>> *Rajan verma*
>>
>> *+91 7838100659 [IM-Gtalk]*
>>
>> * *
>>
>> *From:* excel-...@googlegroups.com [mailto:excel-...@**googlegroups.com]
>> *On Behalf Of *Vabz
>>
>> *Sent:* 16 September 2012 11:17
>> *To:* excel-...@googlegroups.com
>>
>> *Subject:* $$Excel-Macros$$ Re: Highlight Worked Cells only if the
>> Employee has worked in both areas
>>
>>
>>
>> Hi
>>
>>
>>
>> Check this..
>>
>>
>>
>> Cheerz..
>>
>>
>>
>> Regards//Vabs
>>
>>
>> On Saturday, September 15, 2012 11:16:57 PM UTC+5:30, prkhan56 wrote:
>>
>> Hello Prince Dubey,
>>
>> Your solution works.
>>
>> But as I mentioned in my original post the data will be in different
>> areas of the sheet
>>
>> Not in A1:AK117 always...which is where your code will work.
>>
>>
>>
>> Can you please change your code so that it runs on any selected range
>> only.
>>
>> Thanks for your time and help.
>>
>> Rashid
>>
>>
>> On Saturday, September 15, 2012 8:03:53 PM UTC+4, Prince Dubey wrote:
>>
>> Hi Rashid,
>>
>>
>>
>> Please see the attachment, Hope this will help you.
>>
>>
>>
>> Note : For testing the solution first set any other color for the cell
>> where the your specified criteria matched and then press the button
>> Highlight.
>>
>>
>>
>> regards
>>
>> prince
>>
>> On Saturday, 15 September 2012 17:22:57 UTC+5:30, prkhan56 wrote:
>>
>> Hello Experts,
>>
>> I am using Excel 2010 and have the following problem.
>>
>> If an employee no. is duplicate and he has worked in both Work Areas
>> viz EC and RTG then I wish to highlight only those Worked Cells with Yellow.
>>
>>
>>
>> I have done it manually to demonstrate my requirement in yellow.
>>
>>
>>
>> As the data shown in the attached file is part of a big work area, I
>> would like to RUN the macro only on the Selected Range after I have
>> selected that Range.
>>
>>
>>
>> Thanks in advance
>>
>> Rashid Khan
>>
>> --
>> Join official facebook page of this forum @ https://www.facebook.com/**
>> discussexcel <https://www.facebook.com/discussexcel>
>>
>> FORUM RULES (1120+ 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.
>>
>> 6) Jobs posting is not allowed.
>>
>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-...@googlegroups.com.
>> To unsubscribe from this group, send email to excel-macros...@**
>> googlegroups.com.
>>
>>
>>
>>  --
> Join official facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES (1120+ 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.
>
> 6) Jobs posting is not allowed.
>
> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
>
>
>

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ 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. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.


Reply via email to