I am very new to VBA and could use some help. I have been searching and searching and I am lost on how to solve my problem.
In Sheet1 I have four columns. There are titled DATE(A), SOURCE(B), DESTINATION(c), MESSAGE(D)
Each cell under the source and Destination columns contains a phone number. I may have 1000 or more rows and there may be 30 (sometimes more) unique numbers that are listed in both source and destination columns. I have a differant worksheet for each of those unique numbers and each sheet is named by that number.
What I need to is to take the sheet name and if that name is equal to the value of the cell in the Source or Destination (this number will not be in both only one or the other) column copy the whole row and paste it into the the sheet with the coresponding name and continue down the sheet until I have reached the first blank cell. Once that is done move onto the next sheet and do the same thing with that sheet and so on.
Thank You very much
Chris
In Sheet1 I have four columns. There are titled DATE(A), SOURCE(B), DESTINATION(c), MESSAGE(D)
Each cell under the source and Destination columns contains a phone number. I may have 1000 or more rows and there may be 30 (sometimes more) unique numbers that are listed in both source and destination columns. I have a differant worksheet for each of those unique numbers and each sheet is named by that number.
What I need to is to take the sheet name and if that name is equal to the value of the cell in the Source or Destination (this number will not be in both only one or the other) column copy the whole row and paste it into the the sheet with the coresponding name and continue down the sheet until I have reached the first blank cell. Once that is done move onto the next sheet and do the same thing with that sheet and so on.
Thank You very much
Chris