+ Reply to Thread
Results 1 to 5 of 5

how to know where the last cell a value is in a column and transfer vales to an array

  1. #1
    Registered User
    Join Date
    07-21-2010
    Location
    quezon
    MS-Off Ver
    Excel 2007/2010
    Posts
    27

    how to know where the last cell a value is in a column and transfer vales to an array

    Hi, how do i code i macros that goes through a column, and transfers each value to an array but stops and selects the cell on the column right after the last cell which has a value?
    Last edited by LAazsx; 07-25-2010 at 10:58 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: how to know where the last cell a value is in a column

    Can you explain a little more fully
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    07-21-2010
    Location
    quezon
    MS-Off Ver
    Excel 2007/2010
    Posts
    27

    Re: how to know where the last cell a value is in a column

    Lets say I have some values under column A namely 1 2 3 4 5. Each has it's own cell and there are no black cells in between. I want excel to first go through the column, transfer the value of the cells to an array and find out which row has no value and .select that cell.

  4. #4
    Registered User
    Join Date
    07-21-2010
    Location
    quezon
    MS-Off Ver
    Excel 2007/2010
    Posts
    27

    Re: how to know where the last cell a value is in a column and transfer vales to an a

    sorry for the double post.. uhmm.. anyone have an idea? been at it for the whole day. i really have no clue

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to know where the last cell a value is in a column and transfer vales to an a

    Perhaps you mean

    Please Login or Register  to view this content.
    (if you want the array as 1 dimensional apply a Transpose)

+ Reply to Thread

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