VFP Excel probelm
- From: "Jeff Grippe" <jeff@xxxxxxxxx>
- Date: Thu, 26 Mar 2009 12:52:41 -0400
Hi, Thanks for the help.
I have some data that I'm importing from an excel file using office
automation. I am having the following problem and I wonder if anyone has any
ideas about what to do instead of coding for this exception.
I'm reading a file that contains store names and addresses among other
things
The name of one store is TRUE
When the following line of code
lcHShipToName = loExcel.Cells(lnCurrentRow, 3).Value && Ship to name
from Header Line
encounters the store whose name is TRUE,
the variable read in is a boolean instead of a string.
I've tried going into the spread*** and formatting the column as TEXT but
it didn't help.
Changing the name to TRUE STORE worked but I want to be able to process
these without intervention.
Does anyone have any ideas?
Thanks again,
Jeff
.
- Follow-Ups:
- Re: VFP Excel probelm
- From: Charles HUNG
- Re: VFP Excel probelm
- From: Jeroen van Kalken
- Re: VFP Excel probelm
- From: Dan Freeman
- Re: VFP Excel probelm
- Prev by Date: Re: Can't trap CTRL+X
- Next by Date: Re: Can't trap CTRL+X
- Previous by thread: Can't trap CTRL+X
- Next by thread: Re: VFP Excel probelm
- Index(es):