PDA

View Full Version : Validate if any <!--tags--> exists in a documents



Psyclops
10-10-2006, 11:15 PM
Hi experts,

I need your help on this:
Validate if any <!--tags--> in a document and if it exists
before every table in the entire document
ex.
<!--Name-->
Table
row1,col1
...
...
...

<!--Address-->
Table
row,col
...
...

Thanks in advance...

fumei
10-11-2006, 08:38 AM
This is pretty much the same as your other posts. What you are doing is not really validating. It is a searching function, and the other posts have given the way to do it.

BTW: try to spec out your posts more explicitly. I understand you are looking for <!--whatever-->, but what exactly is the logic for this?

In any case, that is what it is...a question of logic. A search logic. So you look for <!--, and then when you find one, look after it to see if there is a table.

However - again back to using explicit descriptions in your posts - I am not clear if you are looking for TEXT "Table", or an actual table.

Psyclops
10-11-2006, 11:41 PM
Gerry,

OK thanks for your suggestions...

Psyclops

mdmackillop
10-13-2006, 09:57 AM
There was a bit of discussion about valid tags here.
http://www.vbaexpress.com/forum/showthread.php?t=6668&highlight=bracket