Goto Last Open Cell In Column D, Make It Equal To Cell G3

NewToExcelGlenn

New Member
Joined
Sep 29, 2017
Messages
10
Office Version
  1. 2016
Platform
  1. Windows
Code:
[FONT=Calibri][SIZE=3][COLOR=#000000]Range("d" & Rows.Count).End(xlUp).Offset(1,0)= Range("g3")[/COLOR][/SIZE][/FONT]

Hello. Can anyone tell how to goto the last open cell in column D, and make that equal to cell g3. Cell G3 has a number in it?

Thank you.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hello,
what you have should work
Code:
Range("D" & Rows.Count).End(xlUp).Offset(1, 0).Value2 = Range("G3").Value2
Are there any merged cells?
same but different
Code:
Cells(Rows.Count, "D").End(xlUp).Offset(1, 0).Value2 = Range("g3").Value2
 
Upvote 0
Hello,
what you have should work
Code:
Range("D" & Rows.Count).End(xlUp).Offset(1, 0).Value2 = Range("G3").Value2
Are there any merged cells?
same but different
Code:
Cells(Rows.Count, "D").End(xlUp).Offset(1, 0).Value2 = Range("g3").Value2

That worked. It was the .Value ending that I didn't have.

Thank you very much for the help.

I too am an animal lover, and I'll certainly donate to RSPCA.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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