Add contents of another cell to existing contents of cell

CoolAuto

New Member
Joined
Aug 26, 2015
Messages
32
In H2 I have =TODAY() formula. Need for that date to be added to cell in column F & active row. ADDED is the key word - I am going to be calling this macro from another, which sends email and this macro is meant to keep recording every date email is sent for this line item. Code I have so far is below, but getting "Run-time error'424' Object required" on line
Code:
Set Rng = Range("F" & (ActiveCell.Row)).Value

Code:
Sub AddEmDate()
Dim Rng As Range
Dim c As Range
Set Rng = Range("F" & (ActiveCell.Row)).Value

        c.Value = c.Value & ";" & Range("H2").Value

End Sub
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Solved myself

Code:
Sub AddEmDate()
Dim Add As Range
Dim Record As Range
Set Add = Range("H2") '.Value
Set Record = Range("F" & (ActiveCell.Row)) '.Value
Record = Record & Add & "; "
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,926
Messages
6,181,792
Members
453,066
Latest member
Firemonte

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