Author Topic: Dynamic Data Exchange (DDE) method  (Read 4860 times)

0 Members and 1 Guest are viewing this topic.

HofCAD

  • Guest
Dynamic Data Exchange (DDE) method
« on: September 11, 2006, 04:42:12 AM »
Dear Readers,

What is possible with the Dynamic Data Exchange (DDE) method
with AutoCAD(LT) and Excel?
Who is using the Dynamic Data Exchange (DDE) method?

HofCAD CSI

PS This is possible:
HofCADLT.xls
HofCADLT.xls
Change green values and click on the yellow Update, and look to the result in AutoCAD.
May be you have to change at the top of the macro's:
Const ver As Integer = 16
Const arr As String = "-ARRAY"



<Edited to remove broken links>
« Last Edit: February 02, 2015, 09:36:19 AM by HofCAD »

Maverick®

  • Seagull
  • Posts: 14778
Re: Dynamic Data Exchange (DDE) method
« Reply #1 on: September 11, 2006, 11:59:06 AM »
What application would you use this for?

All the links you posted come up broken.
« Last Edit: September 11, 2006, 12:00:32 PM by Maverick® »

HofCAD

  • Guest
Re: Dynamic Data Exchange (DDE) method
« Reply #2 on: September 12, 2006, 05:40:28 AM »
What application would you use this for?

All the links you posted come up broken.

Sorry, I try again.

Dear Readers,

What is possible with the Dynamic Data Exchange (DDE) method
with AutoCAD(LT) and Excel(or Winword)?
Who is using the Dynamic Data Exchange (DDE) method?
It is not AutoLisp(VisualLisp) or VBA, and you can also use it in AutoCAD LT.

HofCAD CSI


PS General explanation:
Example for opening document C:\temp\hoftest.doc with a macro in Excel.

Sub Test()
ChanNum = DDEInitiate("winword", "c:\temp\hoftest.doc")
For i = 0 To 9
DDEExecute ChanNum, "Line" + Str$(i) + "{ENTER}"
Next i
DDETerminate ChanNum
End Sub

See documents in:
LINK

Use in AutoCAD
See de macro's:
LINK to HofCADLT.xls
HofCADLT.xls
Change green values and click on the yellow Update, and look to the result in AutoCAD or AutoCAD LT.
May be you have to change at the top of the macro's:
Const ver As Integer = 16
Const arr As String = "-ARRAY"
LINK2
LINK3
LINK4
LINK5

- EDIT -

Repaired Links
« Last Edit: October 25, 2006, 05:16:13 AM by HofCAD »

HofCAD

  • Guest
Re: Dynamic Data Exchange (DDE) method
« Reply #3 on: October 25, 2006, 08:27:39 AM »
Dear Readers,

What is possible with the Dynamic Data Exchange (DDE) method
with AutoCAD(LT) and Excel?
Who is using the Dynamic Data Exchange (DDE) method?

HofCAD CSI

Dear Readers,

This also possible with the Dynamic Data Exchange (DDE) method.
http://www.theswamp.org/screens/HOFDDE03.XLS

HofCAD CSI

PS Change green values and click on the yellow Update, and look to the result in AutoCAD or AutoCAD LT.
May be you have to change at the top of the macro's in Module1 (Alt+F11):
Const ver As Integer = 16
« Last Edit: February 02, 2015, 09:40:16 AM by HofCAD »