+ Reply to Thread
Results 1 to 5 of 5

copy column of data, remove blank cells

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Posts
    115

    copy column of data, remove blank cells

    i recorded the following macro to copy a column of data and identify/delete blanks cells.

    however, rather than select the entire column (in this case column A), can someone explain to me how to incorporate the End(xlUp) function to determine the end cell address? also, any other tips to "clean-up" the script?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    09-19-2007
    Posts
    115
    thanks mike

    i feel a little silly because a) i found that code shortly after i posted the question, and b) the cells are not blank since they contain "" as placed by a formula.

    so now i'm using the following formula, yet can't determine how to post the results to another sheet (say sheet 1) and start from cell A3:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    This modification should work.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-19-2007
    Posts
    115
    thanks mikerickson - that works great.

+ 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