Results 1 to 7 of 7
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919

    API available so VBA code can get a color value?

    Is there anyone with code that can select a color and get its Long value returned?


    I just want to open the Access color chart and get the value associated with the selection.
    Like:

    Dim lngColorval as long
    lngColorval = ColorPick() 'Where ColorPick opens the Access menus where a user can select a color.

    Click image for larger version. 

Name:	CPick.jpg 
Views:	30 
Size:	32.3 KB 
ID:	47723

    Thanks,
    Bill

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    Hi Colin,
    Winzip V26 getting errors trying to extract the accdb.
    Bill

  5. #5
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Just checked the zip file. Windows extracts the ACCDB file without issues. I no longer use Winzip.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  6. #6
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    Strange the WinZip hit an error. I just used WE to open the ZIP and accdb opened up as you posted. A lot of usable choices posted in the thread, I'll select from the list of options there.
    Thanks,
    Bill

  7. #7
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    You will need the colour converter app.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How can I color code my listbox
    By BakerMan in forum Forms
    Replies: 2
    Last Post: 05-14-2019, 01:28 PM
  2. Replies: 3
    Last Post: 03-19-2017, 09:18 PM
  3. Replies: 1
    Last Post: 03-11-2016, 01:27 PM
  4. The Color Palette and Dynamic use in VBA code.
    By casinc815 in forum Programming
    Replies: 3
    Last Post: 11-19-2013, 09:37 AM
  5. Color Code Query Results
    By jo15765 in forum Queries
    Replies: 6
    Last Post: 01-10-2013, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums