Microsoft
Software
Hardware
Network
Question : Excel 2003 VBA - Color Cells depending on character length
Hello Experts,
I have a master worksheet and a secondary spreadsheet. The Master is called Property.xls, the secondary is called ETL.xls.
I have created a very simple macro that copies columns of information from Property.xls to ETL.xls.
In the ETL workbook, the columns have a heading which states number of allowed characters, Eg A6 has Character 8 as a heading, E6 has Character 50 as a heading.
Is there anyway to do a sanity check on the data, once copied and pasted, so that any cells not matching the criteria are coloured?
Eg if any cells copied into column A were 9 characters or over, the cell would color Red. Cells copied to column E would colour red if they exceeded 50 characters?
Apologies for the convoluted post.
TIA
Answer : Excel 2003 VBA - Color Cells depending on character length
try conditional formatting with following formula A$1 will be the row with allowed number of characters
=LEN(A2)>A$1
(select all the cells where formatting applies)
Random Solutions
Operator '=' is not defined for type 'DBNull' and type 'Integer' - how to fix
cant pass list
How to change pass AD with WSS 3.0?
Any way of showing a list of the users that logged on to a Windows XP SP3
The Sql Statement is not Valid
Particular calendar items will not sync from iPhone to Outlook via Exchange
RDP on 80
SQL Database Backup "not permitted because it is not online"
VBA function works on Excel 2007 file locally but not when in SharePoint 2007
is there a way to export GFI webmonitor Rules on isa 2006 for webgrade filter