+ Reply to Thread
Results 1 to 3 of 3

[SOLVED] Expand Date Scroll Bar Automatically to Include New Table Rows

  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    MS Office 365 (Excel ver. 2304)
    Posts
    16

    [SOLVED] Expand Date Scroll Bar Automatically to Include New Table Rows

    The attached spreadsheet is the work of PK (link in the spreadsheet); to which I have made a few changes. I converted the data on the Data sheet tab to a table so the formulas in columns "Left Padding" and "Space" update when new rows of data are added. What does not update is the "Change Dates" scroll bar to add the new date. For instance, 18-Feb-21 is not selectable. To update to include new dates I have to manually update the format control of the scroll bar. Is there a possible workaround for this? Or should/could this be done with a spinner? Your thoughts? Thank you.
    Last edited by USAF; 02-20-2022 at 08:46 PM. Reason: Problem solved.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Expand Date Scroll Bar Automatically to Include New Table Rows

    On sheet("data"), I used cell M1 (named it "TotalDays") to calculate column A max date - min date.
    I used the sheet("data") change event to set the scrollbar max value to TotalDays'

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-25-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    MS Office 365 (Excel ver. 2304)
    Posts
    16

    Re: Expand Date Scroll Bar Automatically to Include New Table Rows

    Very nice! Works like a charm. Thank you.

+ 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: 4
    Last Post: 11-19-2016, 07:28 PM
  2. [SOLVED] Expand rows automatically based on grouped rows(Expansion and Contraction)
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-22-2016, 11:20 PM
  3. Make Table Automatically Expand Rows NOT Columns
    By Yanezez in forum Excel General
    Replies: 1
    Last Post: 02-23-2016, 05:08 AM
  4. Replies: 1
    Last Post: 05-06-2014, 01:21 PM
  5. Replies: 1
    Last Post: 03-28-2013, 11:31 AM
  6. Replies: 1
    Last Post: 11-25-2009, 03:44 AM
  7. Charts to automatically include new rows
    By madeqx in forum Excel General
    Replies: 2
    Last Post: 07-27-2005, 10:05 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