...
>Terry,
>I quickly read the whole thread and you've come a long way as I see:) While automaing excel is fun you might not need it. To direct you to another long and winded path < g > I'd say also think of loading the HTM into a DocumentObjectModel and process it w/o putting Excel in between. Of course DOM processing might sound to be easier or harder than automating excel.
Thanks, Cetin. I actually want the o/p to be a s/s, cos that's the format that some of our non-electronic ticket m/c (non-ETM) deliver their journeys/ticket sales data in. I've already written the i/f s/w to conv. from s/s -> VFP table (as stated in the thread), so this is approp.
>PS: Put oExcel.Visible = .t. early in code. It's a myth it would slow down (don't be surprised to see it's faster:). Also it has other advantages like allowing you to step your code, if something goes wrong kill excel application by simply closing excel etc.
>Cetin
That's interesting. I just wanted visible to be at the end so the user doesn't see all the formatting changes flashing of the screen.
Cheers
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.