PRB: DDERequest() from MS Excel Returns Extra CharactersLast reviewed: June 26, 1995Article ID: Q97164 |
The information in this article applies to:
SUMMARYThe DDERequest() function can be used to return data from a cell in a Microsoft Excel file. (See below for an example.) The contents of the cell are returned as a text string that is terminated by the ASCII characters 10 and 13 (carriage return and linefeed.) To obtain the desired result, you may need to use FoxPro commands to manipulate these strings.
MORE INFORMATION
To remove these extra characters, use the following command:
x=left(x,len(x)-2)The variable x now contains the contents of the Microsoft Excel cell without the extra characters.
|
Additional reference words: FoxWin 2.50 2.50a DDE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |