Selecting an range from First Row to Last Row

Blunder1

Active Member
Joined
Jun 2, 2010
Messages
250
Hi,

I need to delete part of a column from a set First Row to a set Last Row. I have set these parameters, on this particular sheet it's Row 6 to 17. The column will change from time to time so i need to select a range from the First Row to the Last Row in the column where the activecell sits.

Please can someone advise how to format the code? So far i have tried many options but none work. This was my last attempt
Range(ActiveCell(FirstRow, LastRow)).Select

Thanks
Blunder
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Perhaps

Code:
Range(Cells(Firstrow, ActiveCell.Column), Cells(LastRow, ActiveCell.Column)).Select
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,553
Members
449,038
Latest member
Guest1337

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