VBA Formatting

bmontes

New Member
Joined
May 12, 2011
Messages
1
Hi Everyone,
I am new to this, but I have high hopes that someone out there can help me format through VBA.

I need to know how to write the code so that I can find key names in my worksheets and the rows/columns that contain these key names will be formatted. I need the rows Bolded, Bordered, and Colored.

I was thinking of setting up a list and then using like a VLOOKUP to find the key names and then use the code to auto-format.

Any help will be much appreciated!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi bmontes, and welcome to the this community!

This can be done with Conditional formatting, without using VBA code,
but it could be done with VBA either.

May you show sample of your sheet and what key names do you want to search
in order to format the matched cells?

To post sample data you can use HTML Maker

Regards
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,969
Members
449,059
Latest member
oculus

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