View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
TomK76 TomK76 is offline
external usenet poster
 
Posts: 12
Default Looping through sheets and comparing data

Hi,

I am trying to get a macro that loops through the worksheets in the workbook
and compares the values in the same cells in each...in other words, it
compares the value in G3 of Sheet 2 with the value cell G3 in all the other
sheets. When a match is found, I need the value in O3 from the matching sheet
copied into O3 on the original worksheet (this macro would only be run from
one worksheet, either by clicking a button or by running automatically when a
value is entered into a certain cell).

Thanks!