XLSM Belgium
New Member
- Joined
- Mar 31, 2017
- Messages
- 9
Hi,
I would need to access the console on an url in internet explorer.
I want to run the command
, and paste the output in my excel worksheet.
This is what I have so far: (console and copy output are missing)
I would need to access the console on an url in internet explorer.
I want to run the command
Code:
chart_data_d()
This is what I have so far: (console and copy output are missing)
Code:
Sub testing1() Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "http://users.skynet.be/betberge/pvdiary/pvcalc.htm?date=20170615&long=3.3489&lat=50.8865&az=108&roof=42&peakw=4690&temp_coeff=-0.48&az2=0&roof2=0&peakw2=0&temp_coeff2=0"
While IE.busy Or IE.readyState <> 4
DoEvents
Wend
Application.Wait (Now() + TimeValue("0:0:01"))
'Run the console command chart_data_d()
'copy console output
Sheets("terugverdientijd").Range("K14").Select
ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:=False, NoHTMLFormatting:=True
IE.Quit
Set IE = Nothing
Range("A1").Select
End Sub