Range Selecting With Activecell

AT BABU

Board Regular
Joined
Oct 12, 2018
Messages
54
Office Version
  1. 2016
Platform
  1. Windows
Hi folks,

Thank you for my previous problem.
I have small problem for selecting total column form Active cell I writ blow Code but it working I get this error "Run time error '1004'

My Code

Range("ActiveCell", Range("ActiveCell" & Rows.Count)).End(xlDown).Copy

Please help me
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
If you want the entire column use
Code:
ActiveCell.EntireColumn.Copy
 
Upvote 0
Remove the quote marks - like this:
Code:
Range(activecell,activecell.End(xlDown)).Copy
 
Upvote 0
Thank you ,
But i need form Active cell to at end of the Excel Down(cell 1048576)
 
Upvote 0
Possibly

Code:
With ActiveCell
    Range(.Cells, .EntireColumn.Cells(Rows.Count, 1)).Copy
End With

Do you really need all those empty cells at the bottom of the column?
 
Upvote 0
Hi Mikerickson,

Thank you for your answer.

Do you really need all those empty cells at the bottom of the column?

Just I need only 1000 cells form active cell
 
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

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