Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = "$B$3" Then MsgBox ("Call your Code here!!") End Sub
set this in the worksheet object code in VBA.... Tril On Sep 11, 8:08 am, Tony Bender <[EMAIL PROTECTED]> wrote: > Is there a way to set a cell so when the user clicks on it, it > launches a specified macro? > > If so can you show me how it's done? > > Thank you, --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com -~----------~----~----~----~------~----~------~--~---