Copying Cell address to another Cell

Dean001

New Member
Joined
Sep 2, 2022
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Had loads of help so far and hopefully this is the last for a while...
I am copying values from one sheet to another, this cannot be automated as it is essentially random and carried out visually, but the bit I cant get to work is I also need to copy the cell address of the values I have copied. They need to be displayed in adjacent cells, rather than just using the Paste link option.
ie. the value needs to be copied to column D and the cell address needs to be copied to column C. I am using the below macro to copy the values (the best I have managed so far is to use the paste link function:

Selection.Copy
Sheets("DATA Dump").Select
Cells(Rows.Count, "D").End(xlUp).Offset(1, 0).Select
ActiveSheet.Paste Link:=True
Sheets("data1").Select
Application.CutCopyMode = False
End Sub

Any help would be grately appreciated.
Thanks
 
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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