+ Reply to Thread
Results 1 to 2 of 2

adjust table column to fit contents after item removed

  1. #1
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    adjust table column to fit contents after item removed

    Good morning all

    Having a wee bit of an issue with this one......

    Using a form to populate or delete items from tables... the add button works as it should,,, adds item to table and the table adjusts to fit then puts it into alphabetical order.....

    The remove button works to a certain extent.. it will remove the textbox item from the table and put the remaining ones into alphabetical order.... however the table does not adjust to fit the contents....

    Deleting the row is not appropriate as there will be other tables in the sheet

    Could someone please let me know where I'm going wrong

    Many thanks

    Jim
    Attached Files Attached Files
    Last edited by JamesT1; 03-07-2024 at 08:52 AM. Reason: Solved

  2. #2
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Re: adjust table column to fit contents after item removed

    I figured it out,,, this code with the remove button works.... I would still be interested if anyone knows of a better way

    Many thanks

    Jim

    Please Login or Register  to view this content.
    Last edited by JamesT1; 03-07-2024 at 08:51 AM.

+ 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] Adjust Row Heigh based on Cell Contents (Input)
    By pacosalasv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2022, 09:07 PM
  2. linked cells don't adjust when original cells added/removed
    By noahzark22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2018, 03:53 PM
  3. [SOLVED] Adjust cell contents based on another cells contents
    By spyac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2018, 10:34 AM
  4. Adjust cell contents on column width
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2015, 03:34 AM
  5. [SOLVED] Auto Adjust Stacked Column Need to Adjust Legend
    By tbren in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-29-2013, 01:56 PM
  6. Change item name in one column based on contents of another coulumn
    By kre30a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2013, 06:26 PM
  7. Auto adjust rows to size of contents
    By Howjos in forum Excel General
    Replies: 6
    Last Post: 07-04-2006, 12:20 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