+ Reply to Thread
Results 1 to 4 of 4

Deleting blank row from top to bottom (excel 2007)

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Question Deleting blank row from top to bottom (excel 2007)

    I would need a Code that would do the following after all codes has been processed.

    I have info on Row:
    A5 to M5
    A6 to M6
    This goes on until row 30A to 30M
    I have a vb code that transfer data to the next sheet if a selection is made but it delete the row but now you have an empty row between my selection. My data is between row5 to row 30. Is there a vb code that would eliminate all blank rows to bring up my data as if I was doing a sort every time a code is ran in the sheet?
    Ex:

    A5 to M5 is populated
    A6 to M6 is populated
    A7 to M6 Nothing
    A8 to M8 is populated

    Everytime a code is ran then sort column A with the expanded seletion from A5 to A30.

    Help please…

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Deleting blank row from top to bottom (excel 2007)

    So you need a sort code or a delete code?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Deleting blank row from top to bottom (excel 2007)

    Would need a sort code from Row 5 to Row 30

    I have this in another sheet but only delele bring the bottom row up, this doesn't help me with the rest of the info on the other rows bellow

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Deleting blank row from top to bottom (excel 2007)

    GOT IT :D

    Every time a code is ran :

    Please Login or Register  to view this content.

+ 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