A simple dde update problem

cristinita88

New Member
Joined
Nov 2, 2009
Messages
3
Hello to all, my 1st post here!

I have a problem that , after many hours, cannot solve
I'm sure for the expert people here, it's very easy to solve, so i aks your help

I put in A1 a formula with a DDE link
I need to copy the A1 value in another sheet
The problem is that the A1 cell updates only AFTER the macro finished
It seems like the DDE starts downloading the data only after macro ends
I tried also to put a wait for 30 seconds, but doesn't help
The A1 cell will show the value downloaded from the DDE only after macro finished its job

Is there a way to have the A1 updated when the macro is in execution?
Thanks!

Private Sub CommandButton1_Click()

Range("A1").Formula = "=FDF|Q!'664898.MOT;isin'"
Application.Wait Now + TimeSerial(0, 0, 30)

End Sub
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
i tried also to add the command to recalculate, but doens't work
ActiveSheet.EnableCalculation = True


Any idea?:(

Please help..i'm a super newbie
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,557
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top