我正在使用Excel 2010中的VBA。我需要从工作表中复制四个值,然后我想使用DDE(在VBA中):
我可以将我使用DDE Excel的经验转换为Bloomberg来解决#3,我可能会想出#4。有人可以帮我解决上面解决#1和#2的示例VBA代码语句吗?
答案 0 :(得分:0)
以下是步骤1和2的代码:
Sub Steps_1_2()
'step 1st
Dim oIE As InternetExplorer
Set oIE = New InternetExplorer
'step 2nd
oIE.Visible = True
'change the address to intranet
oIE.navigate "http://www.stackoverflow.com"
Do
DoEvents
Loop Until oIE.ReadyState = READYSTATE_COMPLETE
MsgBox "IE Ready for step 3 and 4"
End Sub