ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Why "Worksheet_Change" dont work under DDE link? (https://www.excelbanter.com/excel-programming/311340-why-worksheet_change-dont-work-under-dde-link.html)

Goguladze

Why "Worksheet_Change" dont work under DDE link?
 
Worksheet_Change work correct (it appears), if I change cell content
manually. But if the contents is changed by means of DDE, Excel does not see
this change (the event does not appear). What to do?
The Answer to get in russian advisable.

Frank Kabel

Why "Worksheet_Change" dont work under DDE link?
 
Hi
the change event is not triggered by this. One possible workaround:
- create a formula which references your DDE linkes cell. e.g.
=A1
- use the worksheet_calculate event

--
Regards
Frank Kabel
Frankfurt, Germany

"Goguladze" schrieb im
Newsbeitrag ...
Worksheet_Change work correct (it appears), if I change cell content
manually. But if the contents is changed by means of DDE, Excel does

not see
this change (the event does not appear). What to do?
The Answer to get in russian advisable.



Tom Ogilvy

Why "Worksheet_Change" dont work under DDE link?
 
I believe Change is fired in xl2000 or later for a DDE link. It was only in
xl97 that it didn't work.

for DDE links you can use
SetLinkOnData - a property of the Workbook.

--
Regards,
Tom Ogilvy

"Frank Kabel" wrote in message
...
Hi
the change event is not triggered by this. One possible workaround:
- create a formula which references your DDE linkes cell. e.g.
=A1
- use the worksheet_calculate event

--
Regards
Frank Kabel
Frankfurt, Germany

"Goguladze" schrieb im
Newsbeitrag ...
Worksheet_Change work correct (it appears), if I change cell content
manually. But if the contents is changed by means of DDE, Excel does

not see
this change (the event does not appear). What to do?
The Answer to get in russian advisable.






All times are GMT +1. The time now is 06:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com