Returning the value of a cell

mikecrowston

New Member
Joined
Feb 15, 2018
Messages
1
I have a formula
=(A3&"."&B3&"@test.co.uk") which returns mike.crowston@test.co.uk
I would like to copy the returned value to another cell

<colgroup><col></colgroup><tbody>
</tbody>

<colgroup><col></colgroup><tbody>
</tbody>

<colgroup><col></colgroup><tbody>
</tbody>
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

jproffer

Well-known Member
Joined
Dec 15, 2004
Messages
2,647
If that is in A1, then in A2 put: =A1 . :unsure:

I'm assuming that's not what you mean, since if you can come up with your formula, you could surely figure that out.

If you mean you want to have the actual text entered into a different cell, via VBA then maybe a ws change event with:

Code:
If Not Intersect(Target,Range("A1")) Is Nothing Then Range("A2").Value = Range("A1").Value

Or something like that. I'll do a little testing when I get to work. (no excel available at home)
 
Last edited:

jproffer

Well-known Member
Joined
Dec 15, 2004
Messages
2,647
Yea, that didn't act like I thought it would at all :)

Would it work if you just did it on calculation?

Code:
Private Sub Worksheet_Calculate()
    [B1].Value = [A1].Value
End Sub
 

Forum statistics

Threads
1,136,327
Messages
5,675,128
Members
419,551
Latest member
thangxpm

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
Top