>Hi All:
> I need your help regarding the Wind/95. When I run the following command on Win/2000 it works fine,however on Win/95 it crashed.
>
>cmd1 = 'APPEND FROM ' + cFile + ' TYPE XL5 SHEET ' + CHR(39) + ExcelSheetName + CHR(39)
>&cmd1 (**this seems to be the issue on Win/95**)
>
>How can I solve this issue so it will works on Win/2000 and Win/95?
>Thaks
Hi Mahmood,
Did you try with the same Excel file? Did you try on different Win95 WS's? What VFP version're you using?
BTW, you don't need macro substitution in this case.
APPEND FROM (cFile) + TYPE XL5 SHEET ( ExcelSheetName )
--sb--