![]() |
|
#7
|
|||
|
|||
|
OK think I got it, was actually 2 problems dealing with the merged cells.
Replace the original 'copy to scratchpad section of the first macro with this and it should fix things up. Code:
'copy to scratchpad
For Each ws In Worksheets
If ws.Name <> "Master" And ws.Name <> "ScratchPad" Then
pasterow = ws2.Cells(Rows.Count, 2).End(xlUp).Row + 1
If pasterow = 2 Then pasterow = 1
With ws
'copy data to scratchpad
lr = ws.Cells(Rows.Count, 2).End(xlUp).Row
.Range("A2:I" & lr).Copy ws2.Range("A" & pasterow)
ws2.Columns.AutoFit
End With
End If
Next ws
|
| Tags |
| excel 2007, vba code |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Daily Loan Tracking schedule | pranjal | Excel | 1 | 12-04-2014 11:57 AM |
| what to put in to schedule for dealing with overall finish date | ketanco | Project | 7 | 10-30-2014 02:25 PM |
showing fabrication items in schedule
|
ketanco | Project | 4 | 06-24-2014 12:18 PM |
Getting Error when I schedule a meeting in outlook
|
ms3433 | Outlook | 1 | 09-05-2013 11:03 AM |
| Powerpoint project schedule | L J Keane | Project | 0 | 09-14-2010 01:24 AM |