DDE Via Excel VBA DDEInitiate, DDERequest
PebbleTrader:
Item$ = "EURUSD"
channelNumber = Application.DDEInitiate( _
app:="MT4", _
topic:="BID")
data_array = Application.DDERequest(channelNumber, Item$)
.Cells(IDCounter, BidColumn).FormulaArray = data_array
Application.DDETerminate channelNumber
I got this code to work a few times, but now it seems to crash Excel.
Even putting in the DDE directly into a cell will crash Excel at that point, a full Start->Shutdown the operating system is required to get DDE to work again.
Anyone have success with MT4 and DDE directly through VBA?
I can get the code to work, but it will just return "N/A".
Application.DDETerminate channelNumber
I got this code to work a few times, but now it seems to crash Excel.
Even putting in the DDE directly into a cell will crash Excel at that point, a full Start->Shutdown the operating system is required to get DDE to work again.
Anyone have success with MT4 and DDE directly through VBA?