Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is the macro i designed to move data that matched a level to
another worksheet. What I am having problems figuring out is how do I have the macro find the next blank row in the worksheet that I pasting data to the second time it runs. Right now it is just pasting over itself. Please advise. Sub Macro27() ' ' Macro27 Macro ' Macro recorded 6/20/2007 by System Administrator ' ' Keyboard Shortcut: Ctrl+v ' Range("A7:O219").Select Selection.AutoFilter Selection.AutoFilter Field:=14, Criteria1:="=y", Operator:=xlAnd ActiveCell.Offset(34, 0).Range("A1:O3").Select Selection.Copy Sheets("Exits").Select ActiveCell.Offset(-7, -6).Range("A1").Select ActiveSheet.Paste ActiveCell.Offset(2, 0).Range("A1").Select Sheets("Participant Worksheet").Select Application.CutCopyMode = False Selection.ClearContents Selection.AutoFilter End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... | Excel Programming | |||
Find First Non blank cell than find column header and return that value | Excel Worksheet Functions | |||
Find next blank row | Excel Programming | |||
VB: Find blank row then add another blank row | Excel Programming | |||
VB: How do I find next blank row then add another blank row | Excel Programming |