Jump to content
Macro Express Forums

Selecting Text Phrases Out Of A Page


Recommended Posts

I'm viewing the source code from a Google search page (small sample below) and trying to run a macro that will extract the domain names from the page. I tried setting it up using Control F (search for class=a>) move mouse to cursor, left mouse down, do a Control F < move mouse to cursor, in hope that the domain www.centralcapital.com would be selected. Then I could copy it and loop through to the next domain.

As you can imagine, it doesn't work.

I've spent too much time going through the manual trying to understand how to use looping and variables and appending to a variable... Well, it just doesn't compute in my head tonight.

What do I try next?



ww.centralcapital.com')" onMouseOut="cs()">Remortgage Specialists</a><br>Fast, easy online application<br>A remortgage to suit your needs<br><font class=a>www.centralcapital.com</font><br><br><a id=aw2

Link to comment
Share on other sites

Hey, Randall. As usual your input is fantastic and the macro runs great. With this as the foundation I should be able to put the rest of it together.

I've only studied your solution for a few minutes and think I'll be able to understand it eventually but in all honesty I'm not sure I would have ever figured it out on my own.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...