button

cmccabe

Active Member
Joined
Feb 20, 2008
Messages
396
I am using excel 2003 and wondering if a button can be created that will run 2 codes simultaneously. The first code looks for a specific text in a range of cells and colors the coressponding values. The other code checks to see if the value is within a acceptable range and then highlights the value in a particular way.

I have an example but can not attach it. Thanks.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You can't run code simulataneoulsy, but you can run one procedure after the other:

Code:
Sub foo()
  Macro1
  Macro2
End Sub

Then attach that code to your button.

HTH,
 
Upvote 0

Forum statistics

Threads
1,203,380
Messages
6,055,099
Members
444,762
Latest member
MRC3411

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top