I am trying to open a text file in Excel 2000 - (sounds easy!) BUT I need the first two columns of the file to be declared as text (I have leading zero's that I want to keep).
I am recording a macro in excel and then converting the code to VFP. As I'm sure you know, some of the Excel functions have quite a lot of parameters. I am falling down when it comes to the parameters that specify the column types. Below is how the parameter looks in Excel :
FIELDINFO:=ARRAY(ARRAY(1, 2), _
ARRAY(2, 2), ARRAY(3, 1), ARRAY(4, 1), ARRAY(5, 1)
I hope you can help
Thanks
Chris
I am recording a macro in excel and then converting the code to VFP. As I'm sure you know, some of the Excel functions have quite a lot of parameters. I am falling down when it comes to the parameters that specify the column types. Below is how the parameter looks in Excel :
FIELDINFO:=ARRAY(ARRAY(1, 2), _
ARRAY(2, 2), ARRAY(3, 1), ARRAY(4, 1), ARRAY(5, 1)
I hope you can help
Thanks
Chris