New Range Attribute / Property

jcorlando

New Member
Joined
May 23, 2010
Messages
23
Team,

Is it possible to create, via .xla, .com or some other method
a New attribute or property for a range or a cell?

E.g.: Worksheet("Sheet1").Range("A1").NewAttrib = 0

I need to test every cell that has data.
So I'm looking for some method to store if:
1) The cell has not yet been tested.
2) The cell has been tested and failed.
3) The cell has been tested and passed.

I was thinking of using the background color:
E.g:
The cell passed the test, then set: Cell().Interior.Color = RGB(255,255,250)
The cell failed the test, then set: Cell().Interior.Color = RGB(255,255,251)

This method worked. But ultimately, I'm wondering if it is possible
to just create a new attribute for all cells.

Any suggestions would be appreciated.

Giovanni,
In Annapolis, MD
 

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.
Alternatively, Is there some unused or spare attribute
I could use for the same purpose??

Giovanni,
In Annapolis, MD
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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