Move Data from below Current cell

Crocdundee

Board Regular
Joined
May 10, 2010
Messages
174
Office Version
  1. 2013
Platform
  1. Windows
Hi Guys, hope you are all keeping well..
Yes I would appreciate help here
My cursor is sitting somewhere in Col G
I would like vba code to select and move data from below the current cell in G col using data only in A:F Columns UP one row
In other words Copy All data below current active cell in G column up 1 row and then delete bottom entire row

Hope you can help me here and it will be appreciated
Graham
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try this
It uses last value in column A to determine last used row

VBA Code:
Sub MoveUp()
    ActiveCell.Offset(, -6).Resize(, 6).Delete Shift:=xlUp
    ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Offset(1).EntireRow.Delete
End Sub
 
Upvote 0
Yongle, thank you very much, this works perfectly and will save me heaps of time,and more importantly I learnt something new
Regards Graham
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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