ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Opening & setting data from Excel to webpage (https://www.excelbanter.com/excel-programming/305757-opening-setting-data-excel-webpage.html)

Calligra[_2_]

Opening & setting data from Excel to webpage
 

OK guys, I could really use someone's help. I have an excel document
where I have gathered information relating to Software bugs. I now
desire to call a website that stores our information in a SQL DB to take
the gathered information and add a bug to the site.

I cannot write to the DB directly due to the fact that multiple users
must be able to access the DB at the same time without disrupting the
use of the DB for all.

My problem is that the code I'm attempting to utilize does not seem to
call the webpage and sHTML doesn't ever get set to anything. If I live
in the "Do Until" then the program loops infinately. Below is the code
I'm attempting to use:

Application.ScreenUpdating = True
Set IE = GetObject("InternetExplorer.Application")

With IE
.Visible = True
.Silent = True
.Navigate "http://Intranet/Add/topic_add.asp"
Do Until Not .Busy
DoEvents
Loop
sHTML = .document.documentelement.innerText
.Quit
End With
Set IE = Nothing



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 05:49 PM.

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