I actually find MS quite useful for this sort of thing, though it does help if you sort of know what you are looking for.
http://msdn.microsoft.com/
As to better code I suppose it really depends on what you actually want to do with the link, but the most important
thing is that it does what you want.
So if what you've got so far works stick with it, unless you want to do something else.
In the past if I wanted to goto another webpage I would use Navigate, but that was normally when I wanted to be able to work with the page I was navigating to.
' other code
.Navigate lnk
Do Until .ReadyState = 4: DoEvents: Loop
Set doc2 = IE2.Document
' other code using doc2 as reference for page navigated to
Main Topics
Browse All Topics





by: dachusaPosted on 2009-06-20 at 13:28:02ID: 24675069
Click method is actually part of the objects class
ocumentati on/library /3.2-api/k html/ html/ classDOM_1 _1HTMLAnch orElement. html
ocumentati on/library /3.2-api/k html/ html/ classDOM_1 _1HTMLElem ent.html
http://developer.kde.org/d
other functions would be .blur and .focus.
and here is a full list of HTMLelements
http://developer.kde.org/d