Hi all,
I always received a great help from this website. Please help me with this one too.
Is there a command in macro that checks only the first part of the content of the cell. Like for example I need to replace any(provided there are certain rules but not important right now) cells that contains Name_new1 with a name(lets say John) that I copied from somewhere.
I am using a Do..while loop like shown below: But the * does not seem to work in this case.
Do
b = ActiveCell.Offset(1, 0).Value
ActiveCell.Offset(1, 0).Select
Loop While b <> "NAME_new*"
ActiveCell.Value = a ' where a is something i copied from another wb
Please help!!
I always received a great help from this website. Please help me with this one too.
Is there a command in macro that checks only the first part of the content of the cell. Like for example I need to replace any(provided there are certain rules but not important right now) cells that contains Name_new1 with a name(lets say John) that I copied from somewhere.
I am using a Do..while loop like shown below: But the * does not seem to work in this case.
Do
b = ActiveCell.Offset(1, 0).Value
ActiveCell.Offset(1, 0).Select
Loop While b <> "NAME_new*"
ActiveCell.Value = a ' where a is something i copied from another wb
Please help!!