Hello all,

I am trying to create a program that will open a webpage and navigate through them to extract data. Basically what I want to be able to do is have a column of numbers (references) and have it run through putting these numbers into a search field, grabbing data there and putting it in the spreadsheet and looping through all the references.

The website being used is internal to my company so I can't share a link. I have started writing code and have been able to get past the login screen with it entering my information, but on the next screen where I input the reference number and search I am stuck. The Search is formatted in a table (javascript I believe). I have been able to input the number I need into the search box, but I can't find any way to click the "search" button.

The button has no name (so I can't use the normal ie.document.all("btnLogin").Click) I can show you what is there though -

<table class="sectionNoBox" width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td class="sectionName">Find Claim</td>
<td class="sectionButton" align="right"><SCRIPT>writeButton('Search', 'Search Claim', 'Content');</SCRIPT></td>
</tr>
</table>
<table class="sectionBox" cellpadding="3" cellspacing="0" border="0">
<tr>
<td class="textInstructions" align="center" colspan="5">xxxxx</td>
</tr>


This is the code i'm working with. The align=right sectionbutton is what I need to click to search but I can't figure out how to do it. I've tried numerous things and search all over trying to find the answer. The last thing I tried was execscript to get it to work, but no go. Any hints on where I should start? The help would be much appreciated.