LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default matching values

thanks Simon, I'll try it. I appreciate your help.

"Simon Lloyd"
wrote in message
...

If i understood you correctly this should work!
Regards,
Simon

Sub findit()
Dim mycell
Dim rng As Range
Set rng = Range("A:A")
For Each mycell In rng
If mycell.Offset(0, 2).Value = mycell.Value Then
mycell.Offset(0, 1).Value = mycell.Offset(0, 3).Value
End If
Next
End Sub


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile:
http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=552076



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matching two values Anna Wood Excel Worksheet Functions 2 February 10th 09 08:13 PM
Matching 2nd & 3rd values [email protected] Excel Worksheet Functions 1 June 9th 08 03:01 PM
Finding Most Recent Values in Col1 -- Summing Matching Values Rothman Excel Discussion (Misc queries) 5 December 20th 07 08:19 PM
matching values italiavb Excel Worksheet Functions 3 June 15th 06 11:34 AM
Fill values into a listbox matching selected values from a combobox Jon[_19_] Excel Programming 4 January 25th 05 04:25 PM


All times are GMT +1. The time now is 06:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"