Multiple Row Problem

gyferlotus

New Member
Joined
Oct 14, 2010
Messages
17
Well I have the following problem:
The first Row of A is like this:
<table border="0" cellpadding="0" cellspacing="0" width="271" height="68"><col width="132"><tr><td valign="top">
</td></tr><tr height="40"> <td class="xl63" style="height: 30pt; width: 99pt;" width="132" height="40"> A1
BLABLABLAABLA173 <-- Upper Part
0BLA <-- Lower Part

I want to read the WHOLE String
</td></tr></table>When I try to read the String "BLABLABLAABLA1730BLA"
It says that is doesnt exist, when it actually does...

I know the problem occurs because the string is cutted in 2 parts
BLABLABLAABLA173 AND 0BLA

But how can I search for the whole String? Without a Problem?

Code:
Var2 = "[SIZE=2]BLABLABLAABLA1730BLA[/SIZE]"
Rows = 12
Set rng = BaseWks.Range("A1:I" & Rows)
col = 9

On Error Resume Next
found = Application.VLookup(Var2, rng, col, False)
If IsError(found) Then
MsgBox "not found"
Else: MsgBox "Found " & found
End If
On Error GoTo 0

Could Someone Please Help?
How can I read the lower part of the row?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
You need to identify the character that separates the string Try 13 instead iof 109.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top