Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Navigate on Web Page

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Navigate on Web Page

The hyperlink is usally attached to the href property. I sometimes copy the
href property to the Onclick property. The Select and Click the object like
I would a button.

"tp803" wrote:

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Navigate on Web Page

Thanks Joel, can you give me some sample codes. Much appreciated.

"Joel" wrote:

The hyperlink is usally attached to the href property. I sometimes copy the
href property to the Onclick property. The Select and Click the object like
I would a button.

"tp803" wrote:

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Navigate on Web Page

I don't have any code that you can access with these instructions. The code
below is a sample of how I select the hyperlink. Look at the html source
code and search for href and find the name of the object with the link.

set abc = IE.Document.all.item("abc")
abc.onclick = abc.href
abc.select
abc.click

"tp803" wrote:

Thanks Joel, can you give me some sample codes. Much appreciated.

"Joel" wrote:

The hyperlink is usally attached to the href property. I sometimes copy the
href property to the Onclick property. The Select and Click the object like
I would a button.

"tp803" wrote:

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Navigate on Web Page

Thanks Joe, that is exactly what I needed.

"Joel" wrote:

I don't have any code that you can access with these instructions. The code
below is a sample of how I select the hyperlink. Look at the html source
code and search for href and find the name of the object with the link.

set abc = IE.Document.all.item("abc")
abc.onclick = abc.href
abc.select
abc.click

"tp803" wrote:

Thanks Joel, can you give me some sample codes. Much appreciated.

"Joel" wrote:

The hyperlink is usally attached to the href property. I sometimes copy the
href property to the Onclick property. The Select and Click the object like
I would a button.

"tp803" wrote:

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.

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
navigate geebee Excel Programming 0 September 26th 08 03:11 PM
Ctrl+Page Down to navigate sheets TimT Excel Discussion (Misc queries) 1 May 30th 07 02:21 PM
Navigate through webpages Mahesh Excel Programming 0 August 3rd 06 12:51 PM
Navigate Sheets - better way. Doug929 Excel Programming 2 August 29th 05 03:06 PM
Navigate by macro Bob Phillips[_6_] Excel Programming 0 May 28th 04 04:39 PM


All times are GMT +1. The time now is 11:34 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"