ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to send variables to textboxes in a web site (https://www.excelbanter.com/excel-programming/394458-how-send-variables-textboxes-web-site.html)

SupperDuck

How to send variables to textboxes in a web site
 
Hello,

http://home.ubalt.edu/ntsbarsh/Busin...raph/Graph.htm

I want to send variables to this site using Excel. The datas are in the same
cells (for ex, cell "A1" in excel to "J Mon 1" in the website (please look
at the address above), "B1" in excel to "F Tue1 in website... and all datas)

But i did not do something like before.

Is there a way?

Thanks,

Regards,

Randy Harmelink

How to send variables to textboxes in a web site
 
You should be able to use the InternetExplorer object from the
"Internet Controls" reference library. For example, something like:

Set oIE = New InternetExplorer
oIE.Visible = True
oIE.Navigate "http://home.ubalt.edu/ntsbarsh/Business-stat/graph/
Graph.htm"
Do: DoEvents: Loop Until oIE.ReadyState = READYSTATE_COMPLETE

Set oForm = oIE.Document.forms(0)
oForm("jan1").Value = Range("A1").Value
oForm("feb1").Value = Range("B1").Value


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com