+ Reply to Thread
Results 1 to 3 of 3

How can VB present a dialog for a user to select a color value

  1. #1
    Registered User
    Join Date
    01-29-2009
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    21

    How can VB present a dialog for a user to select a color value

    Is there a way to programmatically present to the user a dialog so theny can select a color value that the code can then subsequently use to color a range of cells?

    e.g. I would like to present to the user a dialog similar (the same would be better) to what happens if you choose Format->Cells->Patterns which results in a color dialog being presented to you so you can choose a color value.

    Thanks,
    George

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: How can VB present a dialog for a user to select a color value

    Hi,

    See if this helps.

    http://spreadsheetpage.com/index.php...er_dialog_box/
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: How can VB present a dialog for a user to select a color value

    You can use the built in dialog

    Please Login or Register  to view this content.
    it will alter the activecell
    Cheers
    Andy
    www.andypope.info

+ 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