First I highly suggest indenting your code to show control structures. Otherwise it is very hard to read.
Making the modifications shown in red will first find the last used row then write your data after that. Impossible to test without your file. If you have problems with this solution then attach the file. The paper clip icon does not work for attachments. To attach a file:
- Under the text box where you type your reply click the Go Advanced button.
- On the next screen scroll down and under the Attachments section click the Manage Attachments link, which will show a pop-up window.
- Click the Choose File button to select a file to attached.
- Click the Upload button to upload the file.
- Then click the Close This Window button. Your file is now attached to your post.
Bookmarks