General information
Title:
Problem with VFP8.0 to Excel Micro
Please help me to fix those codes so I can convert the application from VFP 6.0 to VFP 8.0.
For VFP 8.0 I have to put iedmsdata.xls!SAMProject under the Microsoft Office XLStart folder otherwise I will have OLE Error.
The codes that works unter VFP 6.0:
tmpsheet = GetObject(sys(5)+sys(2003)+'\iedmsdata.xls','excel.sheet')
XLApp = tmpsheet.application
XLApp.RUN("iedmsdata.xls!SAMProject")
XLApp.Visible = .T.
RELEASE XLApp
Thanks, Tai Fei Pao
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