Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default how to know which row to append for the last row

dear all,
i manage to create header(from header sheet) and details(from detail
sheet) data and paste in final sheet. i face the problem of putting
the last row which is the trailer of the record from trailer sheet.
all i use macro to do it. in the copy and paste what function to use
in macro to identify which is the row immediately after the last
detail row. please help and thanks alot.


142130091000100Merseng Khung 16102004
14213009100018811218900112373000000000005000D.S KRISA A/P D.
SEL821105146056
14213009100018815402200005114000000000012025DAVID ANAK PALIT
770623135923
14213009100018816218400030391000000000009500ELLY MARINA SAERDG
791010105396
1421300910001881111111111 000000000009900THIS IS TESTING
9999999999
14213009100018822222222 000000000004500THIS IS 2ND
33333333333
14213009100018833333333 000000000034500THIS IS 3RD
444444444
HOW TO KNOW THIS IS THE TRAILER
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default how to know which row to append for the last row

I think the line wrapping has screwed with your example.

Just a guess, but could you check to see if the first character of each line
is numeric?


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"tango" wrote in message
om...
dear all,
i manage to create header(from header sheet) and details(from detail
sheet) data and paste in final sheet. i face the problem of putting
the last row which is the trailer of the record from trailer sheet.
all i use macro to do it. in the copy and paste what function to use
in macro to identify which is the row immediately after the last
detail row. please help and thanks alot.


142130091000100Merseng Khung 16102004
14213009100018811218900112373000000000005000D.S KRISA A/P D.
SEL821105146056
14213009100018815402200005114000000000012025DAVID ANAK PALIT
770623135923
14213009100018816218400030391000000000009500ELLY MARINA SAERDG
791010105396
1421300910001881111111111 000000000009900THIS IS TESTING
9999999999
14213009100018822222222 000000000004500THIS IS 2ND
33333333333
14213009100018833333333 000000000034500THIS IS 3RD
444444444
HOW TO KNOW THIS IS THE TRAILER



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you append one row to another? BobVanS Excel Worksheet Functions 3 August 30th 07 02:04 PM
Append worksheets together in one bioyyy Excel Discussion (Misc queries) 1 October 14th 05 07:10 AM
Qn: How to Append??? Michael Vaughan Excel Programming 1 September 19th 04 05:32 PM
append row Joe Excel Programming 4 July 30th 04 04:47 PM
open for append Marcel Jahn Excel Programming 1 July 22nd 03 10:15 PM


All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"