Re: $$Excel-Macros$$ Need a code to update the non existing data

2014-04-27 Thread Ganesh N
Thanks Vaibhav!!!


On Sun, Apr 27, 2014 at 3:07 PM, Vaibhav Joshi  wrote:

> Here goes file as per your need..
>
> Cheers!!
>
>
> On Sun, Apr 27, 2014 at 12:59 PM, Vaibhav Joshi  wrote:
>
>> Hi
>>
>> Use this code instead, this is simple & easy:
>>
>> Sub dataupdate()
>> Range("A2").Select
>> Range(ActiveCell.End(xlDown), Selection.End(xlToRight)).Select
>> Selection.Copy
>> Worksheets("Data update").Select
>> Range("A100").End(xlUp).Offset(1, 0).Select
>> ActiveCell.PasteSpecial
>> Application.CutCopyMode = False
>> ActiveSheet.Range("A:D").RemoveDuplicates Columns:=Array(1, 2, 3, 4), _
>> Header:=xlYes
>> Worksheets("To be update").Select
>>
>> End Sub
>>
>> Cheers!!
>>
>>
>> On Sun, Apr 27, 2014 at 12:00 PM, Ganesh N  wrote:
>>
>>> Hi Ravinder sir,
>>>
>>> The Prj code mostly will repeat (week on week the Prj code will be same
>>> only date and value will change) . So I need to check the date and
>>> respective prj code so it wont be duplicate. If I already updated for
>>> current week I need a msg else it should update. Can you please help me on
>>> that ?
>>>
>>> Thanks & Regards,
>>> Ganesh N
>>>
>>>
>>> On Sun, Apr 27, 2014 at 11:20 AM, ravinder negi <
>>> ravindervbacli...@gmail.com> wrote:
>>>
 hi, please visit below link for your solution, please advise if
 anything else required.

 http://excelvbasupport.com/forum/showthread.php?tid=15

 Note I have checked only code number.


 On Sat, Apr 26, 2014 at 7:20 PM, Ganesh N  wrote:

> Hi Team,
>
> I need to update the data in second sheet. before that i want to check
> the data is already updated or not if already updated i need a msg else 
> the
> data needs to be update (I want to check the date and prj code, becoz week
> on week prj and date will change. so i dont want to make a duplicate ). I
> wrote coding for update the data. I need a code to check the condition.
> Kindly help me on that.
>
> Please find the attachment for your reference.
>
> Thanks & Regards,
> Ganesh N
>
> --
> 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 http://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 http://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 @

Re: $$Excel-Macros$$ Need a code to update the non existing data

2014-04-27 Thread Vaibhav Joshi
Hi

Use this code instead, this is simple & easy:

Sub dataupdate()
Range("A2").Select
Range(ActiveCell.End(xlDown), Selection.End(xlToRight)).Select
Selection.Copy
Worksheets("Data update").Select
Range("A100").End(xlUp).Offset(1, 0).Select
ActiveCell.PasteSpecial
Application.CutCopyMode = False
ActiveSheet.Range("A:D").RemoveDuplicates Columns:=Array(1, 2, 3, 4), _
Header:=xlYes
Worksheets("To be update").Select

End Sub

Cheers!!


On Sun, Apr 27, 2014 at 12:00 PM, Ganesh N  wrote:

> Hi Ravinder sir,
>
> The Prj code mostly will repeat (week on week the Prj code will be same
> only date and value will change) . So I need to check the date and
> respective prj code so it wont be duplicate. If I already updated for
> current week I need a msg else it should update. Can you please help me on
> that ?
>
> Thanks & Regards,
> Ganesh N
>
>
> On Sun, Apr 27, 2014 at 11:20 AM, ravinder negi <
> ravindervbacli...@gmail.com> wrote:
>
>> hi, please visit below link for your solution, please advise if anything
>> else required.
>>
>> http://excelvbasupport.com/forum/showthread.php?tid=15
>>
>> Note I have checked only code number.
>>
>>
>> On Sat, Apr 26, 2014 at 7:20 PM, Ganesh N  wrote:
>>
>>> Hi Team,
>>>
>>> I need to update the data in second sheet. before that i want to check
>>> the data is already updated or not if already updated i need a msg else the
>>> data needs to be update (I want to check the date and prj code, becoz week
>>> on week prj and date will change. so i dont want to make a duplicate ). I
>>> wrote coding for update the data. I need a code to check the condition.
>>> Kindly help me on that.
>>>
>>> Please find the attachment for your reference.
>>>
>>> Thanks & Regards,
>>> Ganesh N
>>>
>>> --
>>> 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 http://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 http://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 ba

Re: $$Excel-Macros$$ Need a code to update the non existing data

2014-04-26 Thread Ganesh N
Hi Ravinder sir,

The Prj code mostly will repeat (week on week the Prj code will be same
only date and value will change) . So I need to check the date and
respective prj code so it wont be duplicate. If I already updated for
current week I need a msg else it should update. Can you please help me on
that ?

Thanks & Regards,
Ganesh N


On Sun, Apr 27, 2014 at 11:20 AM, ravinder negi  wrote:

> hi, please visit below link for your solution, please advise if anything
> else required.
>
> http://excelvbasupport.com/forum/showthread.php?tid=15
>
> Note I have checked only code number.
>
>
> On Sat, Apr 26, 2014 at 7:20 PM, Ganesh N  wrote:
>
>> Hi Team,
>>
>> I need to update the data in second sheet. before that i want to check
>> the data is already updated or not if already updated i need a msg else the
>> data needs to be update (I want to check the date and prj code, becoz week
>> on week prj and date will change. so i dont want to make a duplicate ). I
>> wrote coding for update the data. I need a code to check the condition.
>> Kindly help me on that.
>>
>> Please find the attachment for your reference.
>>
>> Thanks & Regards,
>> Ganesh N
>>
>> --
>> 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 http://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 http://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 http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Need a code to update the non existing data

2014-04-26 Thread ravinder negi
hi, please visit below link for your solution, please advise if anything
else required.

http://excelvbasupport.com/forum/showthread.php?tid=15

Note I have checked only code number.


On Sat, Apr 26, 2014 at 7:20 PM, Ganesh N  wrote:

> Hi Team,
>
> I need to update the data in second sheet. before that i want to check the
> data is already updated or not if already updated i need a msg else the
> data needs to be update (I want to check the date and prj code, becoz week
> on week prj and date will change. so i dont want to make a duplicate ). I
> wrote coding for update the data. I need a code to check the condition.
> Kindly help me on that.
>
> Please find the attachment for your reference.
>
> Thanks & Regards,
> Ganesh N
>
> --
> 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 http://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 http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Need a code to update the non existing data

2014-04-26 Thread Ganesh N
Hi Team,

Any update on my request ?

Thanks & Regards,
Ganesh N


On Sun, Apr 27, 2014 at 7:50 AM, Ganesh N  wrote:

> Hi Team,
>
> I need to update the data in second sheet. before that i want to check the
> data is already updated or not if already updated i need a msg else the
> data needs to be update (I want to check the date and prj code, becoz week
> on week prj and date will change. so i dont want to make a duplicate ). I
> wrote coding for update the data. I need a code to check the condition.
> Kindly help me on that.
>
> Please find the attachment for your reference.
>
> Thanks & Regards,
> Ganesh N
>
> --
> 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 http://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 http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ Need a code to update the non existing data

2014-04-26 Thread Ganesh N
Hi Team,

I need to update the data in second sheet. before that i want to check the
data is already updated or not if already updated i need a msg else the
data needs to be update (I want to check the date and prj code, becoz week
on week prj and date will change. so i dont want to make a duplicate ). I
wrote coding for update the data. I need a code to check the condition.
Kindly help me on that.

Please find the attachment for your reference.

Thanks & Regards,
Ganesh N

-- 
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 http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Data to be update.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12