General information
Title:
How to place the data to MS-project 4.0 (URGENT)!!!!!
Pls help me how to place the data in an Ms-project 4.0 from VFP???(URGENT)
#DEFINE TAB CHR(9)
#DEFINE CRLF CHR(13)
#DEFINE LINKMODE 2
PUBLIC CHANNEL_NO
LOCAL I,J,K,L
SET DEFA TO D:\TEST
USE TEST SHARE
RUN /N D:\Program Files\Microsoft Office\Office\EXCEL.EXE
*RUN /N D:\Program Files\Microsoft Office\Office\WINWORD.EXE
*RUN /N C:\WINPROJ\WINPROJ.EXE
CHANNEL_NO = DDEINITIATE("","SYSTEM")
IF CHANNEL_NO = -1
WAIT WINDOW "Excel DDE can't build!"
CANCEL
ENDIF
L = 3
FOR I = 1 TO L
GO RECORD I
=DDEEXECUTE(CHANNEL_NO,TASK_NAME+tab)
J = DTOC(START)
=DDEEXECUTE(CHANNEL_NO,J+tab)
K = dtoc(finish)
=DDEEXECUTE(CHANNEL_NO,K+CRLF)
NEXT
In that program , i can place the data in excel and word!!
but it can not place to MS-project 4.0
can someone help me how to modify that program that it can place data
to ms-project????
Pooh
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only