-
This is definitely not my area of expertise, but in an effort to assist I'll offer my thoughts.
I totally agree with Gerry, you have to solve the logic; however, I don't know how complicated your web pages are. Do the start tags contain more text than the end tags? This obviously causes comparison problems. How many tags are you actually using? With a limited number, I can see how some array comparisons may assist. Is it really necessary to use VBA to solve your problem? With a printout and a pencil, I'm sure I could check simple web pages quite quickly, using my earlier code.
If I was composing stuff, I'd probably enter start/end codes as a "pair" and infill the text and other tags (in pairs) between as required, but maybe I'm being too simplistic.
Regards
MD
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules