Advertisement
Advertisement
| 05.08.2008 at 01:32PM PDT, ID: 23387583 |
|
[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.08.2008 at 01:39PM PDT, ID: 21528258 |
| 05.08.2008 at 01:56PM PDT, ID: 21528406 |
| 05.08.2008 at 02:10PM PDT, ID: 21528502 |
| 05.09.2008 at 07:03AM PDT, ID: 21532880 |
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: 54: 55: |
Sub Repackage()
Dim Source As Worksheet
Dim Dest As Worksheet
Dim LastCol As Long
Dim ColCount As Long
Set Source = Worksheets("Sheet1") 'change if needed
Set Dest = Worksheets.Add
Dest.[a1:g1] = Array("Col1", "Col2", "Col3", "Col4", "Col5", "Col6", "Col7")
LastCol = Source.Cells(5, Source.Columns.Count).End(xlToLeft).Column
For ColCount = 1 To LastCol
If Source.Cells(5, ColCount) <> "" Then ProcessColumn Source, Dest, ColCount
Next
End Sub
Private Sub ProcessColumn(ByRef Source As Worksheet, ByRef Dest As Worksheet, ByVal ColNum As Long)
Dim arr() As String
Dim SourceR As Long
Dim DestR As Long
Dim LastR As Long
Dim Cols As Long
Dim FirstOne As Boolean
DestR = Dest.Cells(Dest.Rows.Count, 1).End(xlUp).Row
LastR = Source.Cells(Dest.Rows.Count, 1).End(xlUp).Row
FirstOne = True
For SourceR = 5 To LastR
If Cols = 0 And Source.Cells(SourceR, ColNum) <> "" Then
If Not FirstOne Then
DestR = DestR + 1
Dest.Cells(DestR, 1).Resize(1, UBound(arr)).Value = arr
Else
FirstOne = False
End If
Cols = 1
ReDim arr(1 To Cols) As String
arr(1) = Source.Cells(SourceR, ColNum)
ElseIf Source.Cells(SourceR, ColNum) <> "" Then
Cols = Cols + 1
ReDim Preserve arr(1 To Cols) As String
arr(UBound(arr)) = Source.Cells(SourceR, ColNum)
Else
Cols = 0
End If
Next
DestR = DestR + 1
Dest.Cells(DestR, 1).Resize(1, UBound(arr)).Value = arr
End Sub
|
| 05.09.2008 at 08:02AM PDT, ID: 21533541 |
| 05.09.2008 at 08:06AM PDT, ID: 21533601 |
| 05.09.2008 at 08:56AM PDT, ID: 21534153 |
| 05.09.2008 at 09:00AM PDT, ID: 21534197 |