Advertisement
Advertisement
| 05.16.2008 at 08:59AM PDT, ID: 23408768 |
|
[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! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.16.2008 at 09:00AM PDT, ID: 21583929 |
| 05.16.2008 at 09:06AM PDT, ID: 21583992 |
| 05.16.2008 at 10:36PM PDT, ID: 21588104 |
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: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: |
Option Explicit
Sub FindBlanks()
Dim LastRow As Long
Dim LastCol As Integer
Dim rFound As Range
Dim ws As Worksheet
Dim ws2 As Worksheet
Dim FindRange As Range
Dim MyAddress As String
Dim r As Range
Dim i As Long
Set ws = ActiveSheet
Application.ScreenUpdating = False
LastRow = ws.UsedRange.Rows.Count
LastCol = ws.UsedRange.Columns.Count
With ws.Range(Cells(1, 1), Cells(LastRow, LastCol))
.FormatConditions.Delete
.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
Formula1:="="""""
.FormatConditions(1).Interior.ColorIndex = 6
Set rFound = .Find(What:="", After:=.Cells(1, 1), LookIn:=xlValues, LookAt:= _
xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False)
If Not rFound Is Nothing Then
Set FindRange = rFound
MyAddress = rFound.Address
Do
Set FindRange = Union(FindRange, rFound)
Set rFound = .FindNext(rFound)
Loop While Not rFound Is Nothing And rFound.Address <> MyAddress
End If
End With
Set ws2 = ActiveWorkbook.Worksheets.Add
i = 1
For Each r In FindRange
ws2.Cells(i, 1).Value = ws.Name & "!" & r.Address
i = i + 1
Next r
ws2.Columns("A:A").AutoFit
Application.ScreenUpdating = True
Set ws = Nothing
Set ws2 = Nothing
Set r = Nothing
Set rFound = Nothing
Set FindRange = Nothing
End Sub
|
| 05.18.2008 at 11:53PM PDT, ID: 21595604 |
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: |
Sub FindBlanks2()
Dim r As Range
Dim c As Range
Dim i As Long
Dim ws As Worksheet
Application.ScreenUpdating = False
On Error GoTo err_handler
Set r = Range("A1:L12").SpecialCells(xlCellTypeBlanks)
If Not r Is Nothing Then
Set ws = ActiveWorkbook.Worksheets.Add
i = 1
For Each c In r
c.FormatConditions.Delete
c.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
Formula1:="="""""
c.FormatConditions(1).Interior.ColorIndex = 6
ws.Cells(i, 1).Value = c.Address
i = i + 1
Next c
ws.Columns("A:A").AutoFit
End If
Application.ScreenUpdating = True
Set ws = Nothing
Set r = Nothing
Set c = Nothing
Exit Sub
err_handler:
End Sub
|