Results 1 to 3 of 3

Select area between two bottom rows

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,974

    Select area between two bottom rows

    I have data in Column A, and in Column B. I want to select the area from the bottom of column A to the bottom of column B (really, I want to delete that area). Here's the code I'm trying to use:
    Firstrow = Range("A" & Rows.Count).End(xlUp).Row
        LastRow = Range("B" & Rows.Count).End(xlUp).Row
        Range(Firstrow:LastRow).Select
    The last line has a syntax error, but I dont know how to resolve the syntax. Can someone help?
    Last edited by jomili; 05-12-2011 at 08:59 AM.

Thread Information

Users Browsing this Thread

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

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