Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default OK, so I can't click on a link in IE

After doing all of opening IE browser window and all that (referencing
Microsoft Internet Controls, Dim IEObj As SHDocVw.InternetExplorer and
all that is taken care of. I can open a browser and navigate to an
adress).

This doesn't work :p

Set ipf = IEObj.Document.all.Item("DTsort=STYLENAME")
ipf.Click

The relevant HTML code is (I think)

<a
href="javascript:sSort('STYLENAME','-POPULAR','DTsort=STYLENAME;
path=/sb/s.jsp','%2Fsb%2Fs.jsp%3F%26Brand%3Dadidas%26Dept%3 DAdultF%26Profile%3D2%26Req%3Dprof%26scrc%3D-1%26Page%3D1');"
class="sortbytext"Style Name</a

Trying to drive the browser from Excel and pick off some texts from the
website (Need to go through 700+ pages and I want to automate the
process...). Any idea what I'm doing wrong? I've got only a vague
idea of how to manipulate the IE object...

-K

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Click on cell link to another worksheet in same workbook JOE Excel Discussion (Misc queries) 1 June 8th 09 03:55 PM
Click on a word and have it link to another page Courtneyf04 Excel Discussion (Misc queries) 2 October 17th 07 12:29 AM
How to enforce to be opened by specified program after click the file link Pleo Links and Linking in Excel 0 March 21st 05 06:45 AM
Excel: How do I set up a cell to click it to link a database? jp@nes Excel Discussion (Misc queries) 1 March 18th 05 07:24 PM
Link - deactivate being sent to source when click on linked cell? snidely Excel Worksheet Functions 1 January 11th 05 02:11 AM


All times are GMT +1. The time now is 12:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"