![]() |
|
|
|
#1
|
||||
|
||||
|
A guess.
Select only a single block of cells NOT including date headers row, nor clients column: Code:
Sub blah()
Set myRange = Selection
Set SceSht = Selection.Parent
Set NewSht = Sheets.Add
Set Destn = NewSht.Range("A2")
For Each rw In myRange.Rows
If Application.CountBlank(rw) < rw.Cells.Count Then
Destn.Value = SceSht.Cells(rw.Row, 3).Value
Set Destn = Destn.Offset(1)
For Each cll In rw.Cells
If Len(cll.Value) > 0 Then
Destn.Value = SceSht.Cells(3, cll.Column).Value
cll.Copy Destn.Offset(, 1) 'this also copies comments but you can remove them en masse later.
Destn.Offset(, 2).Value = cll.Comment.Text
Set Destn = Destn.Offset(1)
End If
Next cll
End If
Next rw
End Sub
|
|
| Tags |
| export, report |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filename options when saving in Word 2013 - using report number at top of a report ? | swayzak | Word | 1 | 09-08-2017 08:54 AM |
Not all fields are exported to the Baseline Cost Report - Visual Report
|
Rowena | Project | 3 | 05-30-2016 04:24 PM |
Summarizing data in a workbook which the sheets contain verndor names in different orders.
|
pad | Excel | 3 | 10-14-2015 07:33 PM |
| Automation Process of Schedule Report Output and Report Check Score Card ! | ozman86 | Word VBA | 1 | 11-19-2014 11:52 PM |
arrows remain between task bars, but predecessor info disappears from task info
|
Antares | Project | 1 | 12-14-2011 09:19 AM |