Solved

BackColor & Forecolor

Posted on 2013-10-28
6
298 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

730 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