+ Reply to Thread
Results 1 to 5 of 5

Want Borders to stay after cut and keep the cell resizing option.

  1. #1
    Registered User
    Join Date
    08-02-2020
    Location
    USA
    MS-Off Ver
    10
    Posts
    32

    Want Borders to stay after cut and keep the cell resizing option.

    What I would really Love is if I can add data to the sheet via Copy/Paste from one workbook to this workbook/Sheet.

    I would like to be able to cut rows and paste the row into the different sections for data integrity.

    It would be great if the macro or any type of script would do the auto resize of cells. I have this code however it will not allow Undo function, if there is any option to get this functionality of cell resizing while keeping the undo available that would be awesome! here is the code:

    Please Login or Register  to view this content.
    I use that code because in column H "notes" there can be a bunch of text in there and would like the cell size to auto adjust.

    Last but not least I would like the Row Height to remain at 18.8 after cut. Right now when a row gets cut it leaves behind a 15 height row.

    I sincerely appreciate any assistance, thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,533

    Re: Want Borders to stay after cut and keep the cell resizing option.

    This should have been added to the orignal thread as duplicates aren't allowed.

    As you have attached a workbook here, I have chosen to close the original thread.

    Please review the forum rules. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,794

    Re: Want Borders to stay after cut and keep the cell resizing option.

    I have this code however it will not allow Undo function, if there is any option to get this functionality of cell resizing while keeping the undo available that would be awesome!
    Running a macro causes the Undo Stack to be cleared. So, it is not possible to keep the Undo function available.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-02-2020
    Location
    USA
    MS-Off Ver
    10
    Posts
    32

    Re: Want Borders to stay after cut and keep the cell resizing option.

    Ok, Thank you for the information TMS

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,794

    Re: Want Borders to stay after cut and keep the cell resizing option.

    You're welcome.

+ 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. [SOLVED] VBA option to format cell borders when formula spills
    By CK458 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-06-2025, 08:18 PM
  2. Conditional Formatting row borders, eliminate Inside Borders within row
    By lizziemac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2018, 11:06 PM
  3. Option Buttons Resizing When Clicked
    By agentsmith83 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-15-2010, 04:04 PM
  4. Replies: 2
    Last Post: 03-27-2007, 08:30 AM
  5. [SOLVED] Resizing cells in a selection without resizing entire sheet
    By Danielle via OfficeKB.com in forum Excel General
    Replies: 4
    Last Post: 08-11-2006, 05:10 PM
  6. Resizing Option Button?
    By countryfan_nt in forum Excel General
    Replies: 1
    Last Post: 11-05-2005, 07:10 PM
  7. Replies: 0
    Last Post: 10-03-2005, 03:05 PM

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