+ Reply to Thread
Results 1 to 2 of 2

create range based on last row/last column

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    create range based on last row/last column

    If I have a variable for last row, last column, how do I select a range?

  2. #2
    Registered User
    Join Date
    08-05-2015
    Location
    Finland
    MS-Off Ver
    Home and Business 2013
    Posts
    50

    Re: create range based on last row/last column

    Range(cells(1,1), cells(a,b)).select

    This selects range from A1 to last row for a = row variable and b = column variable

+ 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. Replies: 6
    Last Post: 09-09-2014, 02:25 PM
  2. How to create new column based on existing column?
    By Buchu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2014, 12:31 PM
  3. [SOLVED] Create list of Cell Data (column B) based on value in same row, dynamic column.
    By Christopher135 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-03-2013, 03:27 AM
  4. Create a new column for user based on value of another column
    By jdogg725 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2013, 01:23 PM
  5. Replies: 4
    Last Post: 07-19-2013, 04:35 AM
  6. Replies: 4
    Last Post: 09-05-2012, 01:50 PM
  7. How to create a cumulative column based upon another column
    By maani in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2009, 11:01 AM

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