LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
ron ron is offline
external usenet poster
 
Posts: 118
Default Select Checkbox on Web Page

I have written a macro that opens IE to the following web page

http://adds.aviationweather.gov/metars/

I am able to select certain options and values using the "set ipf"
method. However, I am unable to programmatically select either the
"Raw Format" or "Translated" radio button using the "set ipf" method.
In other words, the following code does not select the "Translated"
radio button:

Set ipf = ie.document.all.Item("std_trans")
ipf.value = "translated"

Similarly, I can't select between the "METARs" and "TAFs" checkboxes.
I've included the relevant source code below. Any help on how to make
these selections would be appreciated...TIA, Ron

<INPUT TYPE="radio" NAME="std_trans" VALUE="standard"
CHECKED Raw Format<BR
<INPUT TYPE="radio" NAME="std_trans"
VALUE="translated" Translated

<INPUT TYPE="checkbox" NAME="chk_metars"
checked METARs   
<INPUT TYPE="checkbox" NAME="chk_tafs" TAFs<BR<BR
 
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
Select Cell on Same Row as Checkbox [email protected] Excel Programming 1 December 25th 06 01:39 PM
Checkbox to select image Mack Excel Programming 1 July 31st 06 03:55 PM
Cannot select checkbox to delete it from a spreadsheet Roundy Excel Discussion (Misc queries) 3 November 30th 05 02:38 PM
How can I select one checkbox and have it unselect other ones? Jake Excel Worksheet Functions 1 October 10th 05 03:39 AM
Select checkbox with tab key? BrianG[_4_] Excel Programming 8 June 12th 04 03:30 PM


All times are GMT +1. The time now is 11:48 PM.

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

About Us

"It's about Microsoft Excel"