Results 1 to 3 of 3

Thread: how to detect end of file of my excel page

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    how to detect end of file of my excel page

    Hi,
    I have windows application that use com interop. This app successfully read and write to the excel page. My problem if have 10 or more lines how to detect the End of File?


    thanks

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: how to detect end of file of my excel page

    Why not drop a unique value into the first column at the end of your data. Then just search for that? Its quick and ugly but its easy to implement.
    I don't live here any more.

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: how to detect end of file of my excel page

    I think this approach is not applicable in this method. The data in excel came from copy n paste manually. So if apply this, everytime the user put data to excel he/she needs to manually append to the last item but thanks for the idea. Hope anyone can help me out of this or what is the best approach?



    thanks,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width