Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Deleting rows to a defined point

I would like to delete all rows from row 7 to the row number of the range
LastLine, which refers to a single cell. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 336
Default Deleting rows to a defined point

Range(Range("A7"), Range("lastline")).EntireRow.Delete


"Tim Green" wrote:

I would like to delete all rows from row 7 to the row number of the range
LastLine, which refers to a single cell. Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Deleting rows to a defined point

Thanks!

"Martin" wrote:

Range(Range("A7"), Range("lastline")).EntireRow.Delete


"Tim Green" wrote:

I would like to delete all rows from row 7 to the row number of the range
LastLine, which refers to a single cell. Any suggestions?

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 to add rows, to point to new row nastech Excel Discussion (Misc queries) 5 June 13th 06 09:18 AM
defined cell as currency but still have to enter decimal point Beebs Excel Worksheet Functions 2 March 7th 06 11:56 PM
Help!! I have problem deleting 2500 rows of filtered rows!!!! shirley_kee Excel Discussion (Misc queries) 1 January 12th 06 03:24 AM
auto deleting defined rows LoriM Excel Discussion (Misc queries) 4 August 4th 05 06:20 PM
Deleting unused Defined Names in a workbook? Mike Piazza Excel Programming 0 May 13th 05 03:18 PM


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