Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2008, 06:09 AM
Authorized User
 
Join Date: Jan 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DDE Connection weirdness

i have written a basic set of macros that DDE connects to another application, grabs an array, and writes it to a range(some).FormulaArray.

why is it that , i modify the servername, and i restart excel, i am able to receive the new array, but now the array will not write onto range(some).FormulaArray..insetad it will still have the previous run's servername in its formula field, printing #REF! all across the specified range(some)....

i cannot delete the array, by running another macro doing

range(some).FormulaArray = "="

does excel behave differently when u save and run things ?

or should i be writing vba macros in a new module intead of the worksheet.

if im writing in macros in new module, how can i access the sheet ?

Worksheets("Sheet1").Range("some").FormulaArray ?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacement for DDE mackas.net VB.NET 2 July 20th, 2010 11:39 AM
XML/Excel DDE live link to HTML lss XML 0 October 2nd, 2006 09:25 AM
DDE Client Programming Examples GeekyGreek VB How-To 0 July 20th, 2006 09:50 AM
DDE Access -> CC:Mail inthepipe555 VB.NET 1 February 18th, 2005 08:00 AM
Connection String Weirdness shock VB Databases Basics 0 September 26th, 2003 10:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.