martinargimon
Member
HI there,
I have been battling to extract the cell address and then copy it to another cell ( see code below)
The bold comments are my thought process for this , but it does not work
Could you please help.
many thanks
Regards
Martin Argimon
I have been battling to extract the cell address and then copy it to another cell ( see code below)
The bold comments are my thought process for this , but it does not work
Could you please help.
many thanks
Regards
Martin Argimon
Code:
Private Sub CmdButAssignParcelBeneficiaries_Click()
Dim ParcelNo As Range
Dim DestinationRange As Range
' Dim CellAddress As Range
Sheets("SitePlan").Activate
Set ParcelNo = Application.InputBox(Prompt:="Choose cell to copy", Type:=8)
' CellAddress = ParcelNo.Address
Sheets("Beneficiaries_Burials").Activate
Set DestinationRange = Application.InputBox(Prompt:="Choose Destination cell", Type:=8)
ParcelNo.Copy DestinationRange
' CellAddress.Copy DestinationRange
End Sub
Last edited by a moderator: