shavenlunatic
MIS
Hi,
I have embedded a "Webbrowser" in a word document. I want to perform the simplest of tasks.
on whatever action, I would like it to activate the browser, navigate to a given page and then click on a button (which I know the name of)
simple as that, no numbers to fill in, no values to send. I don't care if it's quick and dirty (other than sendkeys) but I'd just like to have it perform that action
viewing source of the page
and the code so far, I have a feeling I should really be creating this as an object etc.. but this just seemed quicker and simpler for the task at hand
Thanks in advance
________
clueless
I have embedded a "Webbrowser" in a word document. I want to perform the simplest of tasks.
on whatever action, I would like it to activate the browser, navigate to a given page and then click on a button (which I know the name of)
simple as that, no numbers to fill in, no values to send. I don't care if it's quick and dirty (other than sendkeys) but I'd just like to have it perform that action
viewing source of the page
Code:
<input type='submit' name='refreshthis' value='REFRESH'>
and the code so far, I have a feeling I should really be creating this as an object etc.. but this just seemed quicker and simpler for the task at hand
Code:
Webbrowser1.Activate
Webbrowser1.Silent = True
Webbrowser1.Navigate("[URL unfurl="true"]http://www.thesite.com/index.php?on=rejig")[/URL]
Thanks in advance
________
clueless