Reading/Posting data to excel

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
mreischer
Newbie
Posts: 1
Joined: Fri Mar 24, 2006 5:02 pm

Reading/Posting data to excel

Post by mreischer » Fri Mar 24, 2006 5:11 pm

Hi,
I would like to read and write MS variable data to excel cells.
(Specifically, data I have culled from websites using WebRecorder)

I have several tabs in the Excel files I use, and there are spaces and hyphens in their names.

So how would I take a variable named PUTDATA and put it into cell F2 of sheet "M OPT" in MADMat-06.xls? How would I retrieve it as GETDATA from the same location?

I saw a post from Marcus mentioning that DDE is not not long for this world, so I was wondering if MS has another option?

If not, how would it be done with DDE?

Thanks for your help.
-Matt

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Mar 24, 2006 5:46 pm

The latest version of office still supports DDE, although it is not longer developed, many apps rely on it, so it won't be pulled any time soon.

You obviously forgot about the search function here? :

http://www.mjtnet.com/forum/viewtopic.p ... dderequest
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts