Advertisement
Advertisement
| 08.28.2008 at 09:29AM PDT, ID: 23686164 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: |
Sub SetHighlights()
'
' Macro recorded 2008/08/26 by Richard Quadling
'
'
Sheets("List of XLS Files").Range("A1").Select
Range(Selection, Selection.End(xlDown)).Select
For Each c_Cell In Selection
Workbooks.Open Filename:="C:\scans\" & c_Cell.Value
For Each sh_Sheet In Sheets
With sh_Sheet.Cells
.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, Formula1:="=IF(ISERROR(FIND(""AUTHENTICATED USERS"", UPPER($B1))),FALSE,TRUE)"
.FormatConditions(1).Font.ColorIndex = 2
.FormatConditions(1).Interior.ColorIndex = 3
.FormatConditions.Add Type:=xlExpression, Formula1:="=IF(ISERROR(FIND(""\USERS"",UPPER($B1))),FALSE,TRUE)"
.FormatConditions(2).Font.ColorIndex = 2
.FormatConditions(2).Interior.ColorIndex = 5
.FormatConditions.Add Type:=xlExpression, Formula1:="=IF(ISERROR(FIND(""EVERYONE"",UPPER($B1))),FALSE,TRUE)"
.FormatConditions(3).Font.ColorIndex = 1
.FormatConditions(3).Interior.ColorIndex = 44
.FormatConditions.Add Type:=xlExpression, Formula1:="=IF(ISERROR(FIND(""\DOMAIN ADMINS"", UPPER($B1))),FALSE,TRUE)"
.FormatConditions(4).Font.ColorIndex = 1
.FormatConditions(4).Interior.ColorIndex = 39
End With
Range("A1").Select
Next sh_Sheet
Application.DisplayAlerts = False
With ActiveWorkbook
.SaveAs Filename:="C:\scans\" & Left(c_Cell.Value, Len(c_Cell.Value) - 4) & ".xls", FileFormat:=xlNormal
.Close SaveChanges:=True
End With
Application.DisplayAlerts = True
Next c_Cell
Sheets("List of XLS Files").Range("A1").Select
End Sub
|