Results 1 to 5 of 5

Find the LastRow

Threaded View

SIMBAtheCAT Find the LastRow 07-22-2014, 11:14 AM
HaHoBe Re: Find the LastRow 07-22-2014, 11:23 AM
Sean Thomas Re: Find the LastRow 07-22-2014, 11:23 AM
SIMBAtheCAT Re: Find the LastRow 07-22-2014, 11:45 AM
Vikas_Gautam Re: Find the LastRow 07-22-2014, 11:45 AM
  1. #1
    Registered User
    Join Date
    06-03-2014
    MS-Off Ver
    2007
    Posts
    87

    Find the LastRow

    Hi all,

    I'm trying to find the last row with data and declare it so I can just use it after to refer to Cells. I know the last row with data is 18 but it varies sometimes.

    I tried something like this :
    dim lastrow as long,i as integer
    
    lastRow = cells(Rows.count.end(xlup),1)
    
    for i = 5 to 57
    cells(lastrow,i)...
    next i
    Last edited by SIMBAtheCAT; 07-22-2014 at 11:45 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA Find LastRow Of Multiple Non Contiguous Columns On One SHeet
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-08-2014, 01:20 PM
  2. Find lastrow and delete rows
    By tableq in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2012, 03:31 PM
  3. Copy From LastRow to LastRow+7
    By dvent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2010, 06:56 AM
  4. Find and select LastRow Minus 1
    By Carlie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2006, 05:35 PM
  5. Chart how to find lastrow
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2006, 11:19 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