我在Excel 2010中使用VBA。我需要从工作表中复制四个值,然后使用DDE (在VBA中)来:
我可以将我使用DDE Excel的经验转化为Bloomberg来解决#3,而且我可能会找出#4。有人能帮我处理上面解决#1和#2的示例VBA代码语句吗?
发布于 2014-01-15 21:17:56
下面是步骤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
https://stackoverflow.com/questions/21147634
复制相似问题