Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel automation - determine last populated row in sheet
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00885317
Message ID:
00885344
Views:
19
I figured that but hope springs eternal... :o)
Thanks for replying George!


>Tracy,
>
>I don't think so unless the range is named or selected by the user. If you're populating the spreadsheet, then you just need to keep track of the last row modified.
>
>I had a similar need for a 123 spreadsheet than had 600-800 rows. What I needed to do was create an SDF file for importing into an old FPW 2.6 system in the correct format. I wrote a VBScript file that did all the work, including deleting columns, formatting output, and writing to the file, among other things. Even considering that I had to count the number of rows, the process took around 45 seconds to complete (on a PIII 933). I don't think that's too bad considering the amount of work that was being done.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform