jblonde002
Board Regular
- Joined
- Jun 10, 2014
- Messages
- 61
I know that's title gore and I am sorry - that was my best effort!
I need some VBA to help search for the word "Qualification" which will always be found ONCE in column A.
Once found I need to copy the whole cell contents and paste it to the left of cell that contains the string "Name" (which will always be found in column B). So far I have managed the below:
The code I have above gets me as far as locating and copying the Qualification string from column A, but I can't work out how to then paste this it one cell to the left of the cell that contains the word "Name" in column B. Sorry for poor explanation, hopefully someone can still help!
I need some VBA to help search for the word "Qualification" which will always be found ONCE in column A.
Once found I need to copy the whole cell contents and paste it to the left of cell that contains the string "Name" (which will always be found in column B). So far I have managed the below:
Code:
Dim myRange As Range Dim myCell As Range
Set myRange = Range("A1:A100")
For Each myCell In myRange
If myCell Like "*Qualification*" Then
myCell.Copy
The code I have above gets me as far as locating and copying the Qualification string from column A, but I can't work out how to then paste this it one cell to the left of the cell that contains the word "Name" in column B. Sorry for poor explanation, hopefully someone can still help!