asked on
'copy whole sheet
Sheets("OH Count Collateral").Select
Cells.Select
Selection.Copy
'paste in OH Count sheet
Sheets("OH Count").Select
Range("A1").Select
ActiveSheet.Paste
'figure out where the data ends for the next paste
Range("A1").Select
Selection.End(xlDown).Select
Range("A834").Select
'copy the next sheet
Sheets("OH Count Pool").Select
Range("A1").Select
' use the SpecialCells method to select only cells with data
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Application.CutCopyMode = False
Selection.Copy
'paste into OH Count below the data from the first copy/paste
Sheets("OH Count").Select
ActiveSheet.Paste
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
TRUSTED BY
ASKER
Lynn