use this:

Private Sub Worksheet_Change(ByVal Target As Range)
    Dim r As Long: r = Target.Row
    If r >= 5 And r < Sheet1.Range("A" & Rows.Count).End(xlUp).Row Then
        r = r - 3
        Range("C15").FormulaR1C1 = "=OFFSET(R[-12]C[1]," & r & ",0)"
    End If
End Sub



*Pankaj Sharma                                                  *

*MIS Analyst*

*Greater Kailash-1, New Delhi*

*Email   *
*p <sharmapankaj...@yahoo.com>ankaj123...@gmail.com <ankaj123...@gmail.com>*
*Skype*
*   pankaj.sharma_pj**Facebook  www.facebook.com/dude.pj
<http://www.facebook.com/dude.pj>*




---------- Forwarded message ----------
From: big smile <bigsmile...@gmail.com>
Date: Sun, Jan 10, 2016 at 6:18 PM
Subject: $$Excel-Macros$$ Refresh d15 automatically when last any entry of
any raw change
To: excel-macros@googlegroups.com


Respected All Thanks  a lot  High light  Raw works properly  But still
Second option do not work

Enclosed file for details  1] In Cell - D 15  not work according to my
question  If I make any changes in any cell   ex -- If I make the change
any other raw  Then all the details pertaining -- respectively raw  change
in D 15 at present it comes only I change raw 9 To be more precise if I
make the changes in raw 8  then what  ever is in D8 should come in D 15 If
make the changes in raw 6 then what  ever is in D6 should come in D 15 I
want that if I make any changes in any raw  then last updated raw details  then
it should automatically updates all  details of that raw  & show it on Cell
D15 Thanks in advance








On 10 January 2016 at 14:18, Pankaj Sharma <pankaj123...@gmail.com> wrote:

> in Conditional formatting use formula:
>
> =AND($F5>=TODAY(),$F5<=TODAY()+14)
>
> Applied to :
> =$A$5:$AI9
>
>
>
> and secondly in Function GetConcat formula coding use :
>
> Application.Volatile
>
> for Auto refresh
>
>
>
>
>
> *Pankaj Sharma                                                  *
>
> *MIS Analyst*
>
> *Greater Kailash-1, New Delhi*
>
> *Email   *
> *p <sharmapankaj...@yahoo.com>ankaj123...@gmail.com
> <ankaj123...@gmail.com>**Skype**   pankaj.sharma_pj*
>
>
>
>
> On Sun, Jan 10, 2016 at 1:27 PM, Pankaj Sharma <pankaj123...@gmail.com>
> wrote:
>
>> Check it !
>>
>>
>> *Pankaj Sharma                                                  *
>>
>> *MIS Analyst*
>>
>> *Greater Kailash-1, New Delhi*
>>
>> *Email   *
>> *p <sharmapankaj...@yahoo.com>ankaj123...@gmail.com
>> <ankaj123...@gmail.com>**Skype**   pankaj.sharma_pj*
>>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: big smile <bigsmile...@gmail.com>
>> Date: Sun, Jan 10, 2016 at 11:19 AM
>> Subject: $$Excel-Macros$$ Correction required in highlet cell & refresh
>> d15 automatically when last any entry of any raw change
>> To: excel-macros@googlegroups.com
>>
>>
>>
>>
>>
>> Respected All
>>
>> I have attached excel files too  It has some still issue . I think there
>> is some correction required   in the formula  1]  When  F column falls
>> under 15 days before today -- only that time full raw should be yellow  Today
>> is 9/1/2016  so any date from 9/1/2016 to 24/1/16 -- then only full raw
>> should be yellow  But at present it happens even if due date is before
>> today also -- ex  f6 is  15/12/2015  then also it become yellow 2] In
>> Cell - D 15  not work according to my question  If I make any changes in
>> any cell   ex -- If I make the change in Raw 9 In stead of mediclaim I
>> put shop in e9 also  change in R 9 -- some change  Then all the details
>> pertaining -- respectively  change in D 15 at present it not change for
>> D 15 3] I have to refesh my cell entry then It show change I want that
>> if I make any changes in any raw  then last updated raw details  then it
>> should automatically updates all  details of that raw  & show it on Cell
>> D15 Thanks in advance
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 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) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 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) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post 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 unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE : Don't ever post 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 unsubscribe from this group and stop receiving emails from it, send an
email to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Attachment: SAMPLE FILE (PJ).xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12

Reply via email to