View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
nis75p06 nis75p06 is offline
external usenet poster
 
Posts: 1
Default edit macro to mathc entire cell contents


I'm using the following macro:

Sub rename()
Dim c As Range
Set c = Range("B:B").Find(ActiveCell)
If c Is Nothing Then Exit Sub
ActiveCell = c.Offset(, -1)
End Sub

I need to edit it so that the find is for "match entire cell contents"

Thanks for the help!

-Tamar

--
nis75p0
-----------------------------------------------------------------------
nis75p06's Profile: http://www.excelforum.com/member.php...fo&userid=2694
View this thread: http://www.excelforum.com/showthread.php?threadid=40169