Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 06-01-2015, 08:46 PM
NoSparks NoSparks is offline Schedule Converging Windows 7 64bit Schedule Converging Office 2010 32bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

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
Reply With Quote
 

Tags
excel 2007, vba code

Thread Tools
Display Modes


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
Schedule Converging showing fabrication items in schedule ketanco Project 4 06-24-2014 12:18 PM
Schedule Converging 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft