Solved

BackColor & Forecolor

Posted on 2013-10-28
6
301 Views
Last Modified: 2013-10-28
Folks,
In my workbook I have over 325 worksheets. Each worksheet has multiple command buttons. For every command button, without exceeption, can be modified except the BackColor and Forecolor properties, regardless. When I select to change a color the property acts like nothing has happened.

All command buttons are ActiveX type. A few of the worksheets are protected and the workbook is not protected.

Maybe it is my machine, but I have attached a copy of this large workbook
Excel-Formulas-and-Functions.xlsm
0
Comment
Question by:Frank Freese
[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
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Harry Lee
ID: 39606861
When you decided to upload sample file, please do no upload protect files that experts cannot edit to help you.
0
 
LVL 12

Accepted Solution

by:
Harry Lee earned 500 total points
ID: 39606898
I have tried changing the Foreground and Background color of the command buttons on the Convert Currency tab, and I don't have any problem changing them.

Can you please take a look at that tab to see if the Background color is in Blue, one of the foreground is red, and the other is yellow?

Can you please also specify which button or button group you cannot change the color on?
Excel-Formulas-and-Functions.xlsm
0
 

Author Comment

by:Frank Freese
ID: 39606957
It works for me at home also. Must be something at work.
I normally leave a workbook unprotected and I simply forgot this time.
I apologize to all Experts
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Closing Comment

by:Frank Freese
ID: 39606958
thanks
I appreciate you looking into this for me
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 39606979
I'm a bit late but just in case it helps here's a routine you can use. (I haven't looked at Harry's code)

Sub ColorEm()
Dim shp As Shape 

For Each shp In ActiveSheet.Shapes
    ActiveSheet.OLEObjects(shp.Name).Object.BackColor = vbRed
Next
End Sub

Open in new window

0
 

Author Comment

by:Frank Freese
ID: 39607111
Martin,
Thanks for looking into this. Apparently it is something with the notebook I use at work. Everything works fine here at home.
I again apologize for not un-protecting some of my sheets. I am so grateful to all Experts and try not to make things more difficult than htey are.
Have a great day!
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

707 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