+ Reply to Thread
Results 1 to 9 of 9

VBA to fill scroll bar with colour when moved

  1. #1
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    VBA to fill scroll bar with colour when moved

    Hi

    I am not sure if this is possible but is there a way to fill a scroll bar with colour when moved to show progress?

    Capture.JPG

    I have attached a picture to give you an idea, the example i have used and filled textboxes but these will not work as are static.



    Many thanks

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA to fill scroll bar with colour when moved

    Hello michelle 1,

    ...is there a way to fill a scroll bar with colour when moved to show progress?
    The "scroll bar" you mention actually is a Progress Bar, and yes, it should be possible to play like a "genie chameleon". Since there are many different ways people employ a Progress Bar, I would like to suggest that you attach a sample workbook, of how you have it set up.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: VBA to fill scroll bar with colour when moved

    Dear Winon

    Many thanks for your reply, i have attached the file as requested.

    Apprecaite your help with this one.

    michelle
    Attached Files Attached Files

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA to fill scroll bar with colour when moved

    Thank you for the feedback michelle,

    Pie in the face for me! I did not for one moment think that you were actually referring to an Active X ScrollBar.

    Try as I may, it just don't seem possible for me to do what you want.

    It would be nice to see if someone could come to your rescue, as it really looks very professional !

    Good luck.

    Wait a day or so, and if you have not received any further assistance, "Bump" your Thread!

  5. #5
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: VBA to fill scroll bar with colour when moved

    Thanks Winon apprecaite you taking a look.

    To be honest its more of a nice to have than a need to have, like you say think it will look more professional if i can.

    Michelle

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA to fill scroll bar with colour when moved

    Hello michelle 1,

    Very much like a pit-bull, I very seldom let go of a challenge!

    Please try the attached sample Workbook below.

    Regards.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: VBA to fill scroll bar with colour when moved

    OMG you are an absolute genius that is brilliant, thankyou so much and thankyou for perservering, you have now made my form look awesome.

  8. #8
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: VBA to fill scroll bar with colour when moved

    How about this....is there any way to fill the section behind the cursor? So that it fills up each time the bar is moved? So for example you may have eveything prior to say 80% in green and everything after in grey and obviously the green and grey fill dependent on which way the cursor moves..make sense?

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA to fill scroll bar with colour when moved

    Thank you for the feedback and kind words michelle,

    Unfortunately I, or rather Excel, cannot accommodate your last proposal. You could however search for an Add-in like Ku-Tools for instance, but that would limit the functionality of same, if available, to your Workbook only, unless you share it with someone with the same Add-In.

    So sorry 'bout that!

    Kind Regards.

+ 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. To fill entire row with fill colour of a particular cell with a formula
    By shailendra chari in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 11-30-2013, 11:18 AM
  2. Replies: 1
    Last Post: 09-12-2013, 02:09 PM
  3. Fill Colour of a cell based on another cell Fill Colour
    By ConorK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2012, 07:09 AM
  4. Command Buttons for Fill Colour and Font Colour
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-14-2011, 07:11 AM
  5. changing all text boxes of one fill colour to another colour
    By was0696 in forum Word Formatting & General
    Replies: 3
    Last Post: 02-18-2010, 05:57 AM
  6. Conditional Formatting Fill colour with weekday colour
    By nattasiray in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2008, 06:49 AM
  7. [SOLVED] can the fill colour of a bar be tied to the data font colour data
    By PaulC in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-22-2006, 08:25 PM
  8. Replies: 1
    Last Post: 06-10-2005, 11: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