+ Reply to Thread
Results 1 to 3 of 3

Find the row number of the first cell entry in a column

Hybrid View

  1. #1
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I think your spreadsheet design needs looking at. Can you attach a small zipped example workbook with your curent layout & code?
    Hope that helps.

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

    Free DataBaseForm example

  2. #2
    Registered User
    Join Date
    12-05-2007
    Posts
    7

    Smile

    Thanks for looking at my question. I think that I may have stumbled on to a workable answer with the following:

    Range("c3", Range("c3").End(xlDown)).Offset(-1, 0).Select
        Selection.EntireRow.Delete
    It actually starts at the third row in my sorted spreadsheet, finds the first cell that has data in column C (my sort data column) goes up one row, and then deletes all of the blank rows that were sorted above my actual data but below my header rows (1,2 & 3).

    Thanks again

+ 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