+ Reply to Thread
Results 1 to 3 of 3

Deleting/Removing a Scrollbar via VBA

  1. #1
    Registered User
    Join Date
    11-05-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    15

    Deleting/Removing a Scrollbar via VBA

    Hello All,

    First time poster. I first want to thank everyone that contributes to solutions, it is such a fantastic resource to those of us just beginning our journey into Excel Programming.

    My question concerns a module I am writing where I will have added a number of scroll bars to a worksheet, and will have given them unique names. I then have a loop and given a certain condition I want to remove one of the scrollbars via its unique name. I cannot figure out how to delete the scrollbar by the name I have given it.

    Please help and thank you in advance.

    Matt
    Last edited by gruberm; 11-22-2012 at 09:44 AM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Deleting/Removing a Scrollbar via VBA

    hi Matt, welcome to Excelforum, provided the name of the forms scrollbar is "Scroll Bar 2"

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-05-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Deleting/Removing a Scrollbar via VBA

    Ha could have sworn I tried that already. Got it working. Thank you!

+ 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