+ Reply to Thread
Results 1 to 3 of 3

selecting only populated cell problem

  1. #1
    Forum Contributor
    Join Date
    03-21-2004
    Location
    Norwich, CT USA
    MS-Off Ver
    Excel 2010
    Posts
    163

    selecting only populated cell problem

    Im combining several sheet into one. During the selection process I end up starting at A1 and selecting all used cells however, I end up selecting some blank rows below the populated rows. It happens whether Im using
    ActiveSheet.UsedRange.Rows.Select
    or
    Selection.CurrentRegion.Select

    Im guess it picking up some old formating or blanks or???
    Question is, how can I chose only the realy populated rows.
    The rows are contiuously populated, no blanks in the field of data
    thanks
    Robert

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

    Re: selecting only populated cell problem

    Correct, UsedRange etc are prone to error with "dirty" cells, see: http://www.rondebruin.nl/last.htm

  3. #3
    Forum Contributor
    Join Date
    03-21-2004
    Location
    Norwich, CT USA
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: selecting only populated cell problem

    Thanks Don... that looks like the information I need. ill fuss with it this weekend.

+ 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