Selecting rows to end of data plus 1 more row to delete

AgentMeow99

New Member
Joined
Oct 15, 2015
Messages
19
This is the last item for my macro and I am hoping you can help me - PRETTY PLEASE??

The below code selects row 6 until the last line with data. I need it to go to my last line of data PLUS one more row, and then delete the chosen rows. Can you help me? After this one thing I am done with my task. Thank you in advance!

Sheets("Journal Report").Select
Rows("6").Select
Range(Selection, Selection.End(xlDown)).Select

ActiveWindow.SmallScroll Down:=3
Selection.Delete Shift:=xlUp
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Code:
Sub AgentMeow99()
Dim R As Range
Set R = Range(Rows(6), Rows(6).End(xlDown))
R.Resize(R.Rows.Count + 1, R.Columns.Count).Delete shift:=xlUp
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,366
Messages
6,124,516
Members
449,168
Latest member
CheerfulWalker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top