+ Reply to Thread
Results 1 to 10 of 10

Keep Row Height of Deleted Row that Shifted

  1. #1
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Keep Row Height of Deleted Row that Shifted

    I'm using the macro below to delete a row, which works but is there a way to keep the row heights for the row that is shifting up?
    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Keep Row Height of Deleted Row that Shifted

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    I just tried it but it didn't work

  4. #4
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    I've attached the workbook if that would helpTN Test SBA.xlsm

  5. #5
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    I know there's someone out there that can help !

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Keep Row Height of Deleted Row that Shifted

    You're not helping yourself much here.

    Where's the button that invokes the code? What happens when you step though it?

  7. #7
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    Its the Delete Record button on frmEntry

  8. #8
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    Ok, so I got something that partially works, but it's pulling down the data in the last column to the rowNow
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    I removed the line below and got it working properly
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor guitarsweety's Avatar
    Join Date
    10-30-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    188

    Re: Keep Row Height of Deleted Row that Shifted

    So my project is complete with many many headaches and a lot of help from the forum. I've learned a very valuable lesson in all of this... Refrain from merged cells... It really does create havoc.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 07-10-2014, 12:06 PM
  2. Macro to autofit row height, and then reduce back to original height
    By LesleyRicco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2013, 09:12 PM
  3. Excel 2007 : Data shifted one row down
    By abc88 in forum Excel General
    Replies: 1
    Last Post: 10-23-2011, 10:50 PM
  4. Numbers are shifted
    By mschrader4 in forum Excel General
    Replies: 1
    Last Post: 07-27-2010, 08:08 PM
  5. Replies: 17
    Last Post: 02-25-2009, 10:09 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