Solved

Setting background colors.

Posted on 2002-06-27
3
150 Views
Last Modified: 2010-05-02
I want to set the colors of objects to the color the user chose for Highlite in the control panel.

lblTest.BackColor = ?

I know I can set them in the properties but I want to be able to change the background should the user select the label.
0
Comment
Question by:Rah082800
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
VBGuy91917 earned 50 total points
ID: 7113807
is this what you're talking about?

lblTest.BackColor = vbHighlight
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 7113812
lblTest.BackColor = &H8000000D&
0
 

Author Comment

by:Rah082800
ID: 7113829
That be it.

So simple, just suffering from brain freeze.

Thanks.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Passing a Text Box name to a Sub 6 104
vbModal 12 75
Excel 2007 Random Generate List Based on Defined Source Cells 3 32
2 Global Vars, 1 List Box 4 34
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question