Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Deleting the last row

I have two worksheets which both have a variable # of rows with a total row
at the end. I have a macro that merges these two worksheets together into
one sheet. Currently, it is including the blank row after the last row of
data and the row with the formula to total Column "F". This is the only info
on this line. When the merge occurs, it includes these two lines from the
first worksheet and this messes up the subsequent code that copies the
formulas in Columns "G" and "H". The formulas stop at the blank row and does
not continue to the last row of data. Also, the total in the middle of the
data is skewing my final total. What code can I include that will delete
these total lines from both worksheets prior to the merge?

thanks bunches
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Deleting the last row

What code do you have that merges them?

--
__________________________________
HTH

Bob

"marcia2026" wrote in message
...
I have two worksheets which both have a variable # of rows with a total row
at the end. I have a macro that merges these two worksheets together into
one sheet. Currently, it is including the blank row after the last row of
data and the row with the formula to total Column "F". This is the only
info
on this line. When the merge occurs, it includes these two lines from the
first worksheet and this messes up the subsequent code that copies the
formulas in Columns "G" and "H". The formulas stop at the blank row and
does
not continue to the last row of data. Also, the total in the middle of
the
data is skewing my final total. What code can I include that will delete
these total lines from both worksheets prior to the merge?

thanks bunches



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Deleting the last row

Bob de Bruin's Merge Sheets to one master. That part works perfectly except
for merging those totals lines

"Bob Phillips" wrote:

What code do you have that merges them?

--
__________________________________
HTH

Bob

"marcia2026" wrote in message
...
I have two worksheets which both have a variable # of rows with a total row
at the end. I have a macro that merges these two worksheets together into
one sheet. Currently, it is including the blank row after the last row of
data and the row with the formula to total Column "F". This is the only
info
on this line. When the merge occurs, it includes these two lines from the
first worksheet and this messes up the subsequent code that copies the
formulas in Columns "G" and "H". The formulas stop at the blank row and
does
not continue to the last row of data. Also, the total in the middle of
the
data is skewing my final total. What code can I include that will delete
these total lines from both worksheets prior to the merge?

thanks bunches




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
Deleting Custom Views when Deleting Sheets ExcelMonkey Excel Programming 1 March 28th 07 06:11 AM
Deleting cell data without deleting formula Tom Hall Excel Discussion (Misc queries) 4 October 29th 06 04:07 PM
deleting values in a worksheet without deleting the formulas patti Excel Worksheet Functions 1 October 28th 05 09:49 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content rmaloy Excel Programming 5 February 9th 04 01:59 AM


All times are GMT +1. The time now is 09:00 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"