General information
Category:
Coding, syntax & commands
Title:
How to place the data in an MS-project 4.0????
pls help me how to place the data in an Msproject 4.0 form VFP???
#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 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
Next
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