sudarshank2
New Member
- Joined
- Nov 1, 2015
- Messages
- 12
I have a multiple elements they are as below
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(2).innerText
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(3).innerText
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(4).innerText
And so on...
If in these elements if any line contains "ABC" or "ASD" or "QWE" or "WER" (just an imaginary text given) then it has to update the data in ws.Cells(rw,5)
Can somebody please help me :'(
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(2).innerText
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(3).innerText
ws.Cells(rw, 5) = .getElementsByTagName("tr").Item(4).innerText
And so on...
If in these elements if any line contains "ABC" or "ASD" or "QWE" or "WER" (just an imaginary text given) then it has to update the data in ws.Cells(rw,5)
Can somebody please help me :'(