>strFile ="h:\abc.txt"
>When I run =Fopen(strFile)
>there is an error said "DataType mismatch"
>
>What's wrong it is??
>thanks a lot
First of all, you should save the result of fopen() to a variable, so that you can do further manipulation on the file later (read and/or write, and later close the file).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)