Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Excel VBA DDEPoke


  • Please log in to reply
2 replies to this topic
Xia Mey
  • Members
  • 105 posts
  • Last active: Oct 01 2015 01:55 PM
  • Joined: 23 Dec 2012

Dear all

 

Here is a non AHK right?

 

So could someone help me with this issue please. I tried weeks but i got nothing. I am trying to connect Excel to Peachtree

Dim ChannelNumber As Long
Dim Dataa As Variant

Application.DisplayAlerts = False
ChannelNumber = Excel.Application.DDEInitiate("peachw", "COMPANY")
Application.DisplayAlerts = True

Application.DDEPoke ChannelNumber, "file=generaljournal,clear,field=Date", "01/01/15"

Application.DDETerminate ChannelNumber

No idea why DEEPoke doesn't work.

 

Appreciate for your help



kon
  • Members
  • 1652 posts
  • Last active:
  • Joined: 04 Mar 2013

According to this page, DDE is no longer supported by Sage 50 Accounting (formerly Peachtree). They apparently do have a COM SDK though.



Xia Mey
  • Members
  • 105 posts
  • Last active: Oct 01 2015 01:55 PM
  • Joined: 23 Dec 2012

Yes. wasted several weeks. :(
Thank you very much