First of all i m very thankful to you 4 your quick response. but dear that is very difficult one for me becoz i have no knowledge about this language. plz help me in easiest way
i am waiting your quick response. regards On Tue, Mar 22, 2011 at 12:23 PM, ashish koul <koul.ash...@gmail.com> wrote: > > try this > > > Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) > On Error GoTo sqr > Dim s As Worksheet > Dim r As Range > > If Target.Count = 1 And Target.Value <> "" Then > For Each s In ThisWorkbook.Worksheets > Set r = s.UsedRange.Find(What:=Target.Value, LookIn:=xlValues, > LookAt:=xlPart, _ > MatchCase:=False, SearchOrder:=xlByColumns) > > If Not r Is Nothing And r.Address <> Target.Address Then > > MsgBox "Value already exists in" & vbNewLine & "Sheet:- " & s.Name & > vbNewLine & "Address:- " & r.Address & vbNewLine & "Row:- " & r.Row & > vbNewLine & "Column:- " & Split(r.Address, "$")(1) > > Exit For > End If > Next s > > End If > sqr: > > Exit Sub > > End Sub > > On Tue, Mar 22, 2011 at 2:16 AM, Muhammad Talal Akbar < > sh.talal.ak...@gmail.com> wrote: > >> >> >> Forwarded conversation >> Subject: Re: $$Excel-Macros$$ how to prevent from duplicate value? >> ------------------------ >> >> From: *ashish koul* <koul.ash...@gmail.com> >> Date: Sat, Mar 19, 2011 at 12:54 PM >> To: excel-macros@googlegroups.com >> >> >> see if it helps >> >> >> On Sat, Mar 19, 2011 at 9:14 AM, Muhammad Talal Akbar < >> sh.talal.ak...@gmail.com> wrote: >> >>> >>> >>> -- >>> >>> ---------------------------------------------------------------------------------- >>> Some important links for excel users: >>> 1. Follow us on TWITTER for tips tricks and links : >>> http://twitter.com/exceldailytip >>> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 >>> 3. Excel tutorials at http://www.excel-macros.blogspot.com >>> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >>> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >>> >>> To post to this group, send email to excel-macros@googlegroups.com >>> >>> <><><><><><><><><><><><><><><><><><><><><><> >>> Like our page on facebook , Just follow below link >>> http://www.facebook.com/discussexcel >>> >> >> >> >> -- >> *Regards* >> * * >> *Ashish Koul* >> *akoul*.*blogspot*.com <http://akoul.blogspot.com/> >> *akoul*.wordpress.com <http://akoul.wordpress.com/> >> My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> >> >> >> P Before printing, think about the environment. >> >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Follow us on TWITTER for tips tricks and links : >> http://twitter.com/exceldailytip >> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 >> 3. Excel tutorials at http://www.excel-macros.blogspot.com >> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> To post to this group, send email to excel-macros@googlegroups.com >> >> <><><><><><><><><><><><><><><><><><><><><><> >> Like our page on facebook , Just follow below link >> http://www.facebook.com/discussexcel >> >> ---------- >> From: *§»VIPER«§* <viper....@gmail.com> >> Date: Sat, Mar 19, 2011 at 12:22 PM >> To: excel-macros@googlegroups.com >> >> >> Hi Akbar, >> >> checkout the attachment and revert if it is not helpful. >> >> -- >> *Thanks & Regards >> >> Thamu >> * >> >> ---------- >> From: *Muhammad Talal Akbar* <sh.talal.ak...@gmail.com> >> Date: Mon, Mar 21, 2011 at 10:03 AM >> To: excel-macros@googlegroups.com >> >> >> Thanks for your reply dear. >> >> but this is not the ans which i needed. >> >> my question is >> >> i enterd the word "Akbar" in the sheet 1 and then i moved towards sheet 3 >> and there >> i m again going to enter "Akbar" at this time excel notify me that i have >> already entered the same word in sheet numer 1 at column ----- and row >> -----. >> >> plz help me >> >> regards >> >> >> >> plz help plz its urgent >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Follow us on TWITTER for tips tricks and links : >> http://twitter.com/exceldailytip >> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 >> 3. Excel tutorials at http://www.excel-macros.blogspot.com >> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> To post to this group, send email to excel-macros@googlegroups.com >> >> <><><><><><><><><><><><><><><><><><><><><><> >> Like our page on facebook , Just follow below link >> http://www.facebook.com/discussexcel >> > > > > -- > *Regards* > * * > *Ashish Koul* > *akoul*.*blogspot*.com <http://akoul.blogspot.com/> > *akoul*.wordpress.com <http://akoul.wordpress.com/> > My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> > > > P Before printing, think about the environment. > > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel