+ Reply to Thread
Results 1 to 3 of 3

Delete a range of cells, using a variable as the cell description.

  1. #1
    Registered User
    Join Date
    03-22-2010
    Location
    Swansea, South Wales
    MS-Off Ver
    2016
    Posts
    10

    Delete a range of cells, using a variable as the cell description.

    Hi all, using Excel 2003, I have 2 sheets side by side. I need to find the last Row on sheet A, and on sheet B use that value to delete any further Row's, so

    Say on Sheet A, data runs from row 1 to row 35. I have identified that row 35 is the last row, and saved that as a variable "LastRow"

    I then need to delete Rows 36 > 999 on sheet B.

    Any ideas?

    This should be easy, i know. But for some stupid reason I cannot get it to work

    Kev

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Delete a range of cells, using a variable as the cell description.

    Try:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-22-2010
    Location
    Swansea, South Wales
    MS-Off Ver
    2016
    Posts
    10

    Re: Delete a range of cells, using a variable as the cell description.

    Awesome ill give it a go tomorrow - Cheers Millz

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Delete range of cells based on a cell value (Date).
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-06-2013, 05:21 AM
  2. [SOLVED] Select variable range; identify & delete rows with blank cells
    By alter54 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2013, 04:40 PM
  3. Copy Name with description in a cell as many times descriptions come in a range
    By brajpalshishodia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2012, 12:31 PM
  4. Replies: 16
    Last Post: 07-25-2012, 02:03 AM
  5. How can i sum a range of cells ( Variable ) in a specific cell
    By Thyagaraj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2006, 12:20 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1