Change destination range to first blank cell

Dojorgen

Board Regular
Joined
Mar 1, 2018
Messages
59
Hey guys:confused:

How can I change the Destination: to the first blank cell in Column A? Instead of "$A$1"



destination.png
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try something like this:
Code:
Sub Copy_Too()
'Modified  10/16/2018  7:01:33 PM  EDT
Dim Lastrow As Long
Lastrow = Sheets(1).Cells(Rows.Count, "A").End(xlUp).Row + 1
Sheets(1).Range("C1").Copy Destination:=Sheets(1).Cells(Lastrow, 1)
End Sub
 
Upvote 0
Maybe this.
When the file is opened, the active cell will be the first blank cell in Col "A"

Code:
Sub workbook_open()
Range("A" & Cells(Rows.Count, "A").End(xlUp).Row + 1).Activate
End Sub
 
Upvote 0
Which code did what you wanted?
I saw nothing about wanting this on Workbook Open.
 
Upvote 0
@MAIT....just assumption !.... but that could have been waaaay wrong...(y)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,873
Members
449,056
Latest member
ruhulaminappu

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