This is how I do it (a Document is also attached):
Sub MakeDDE()
Dim ExpDt As Date
For CurRow = 2 To 11
DDERoot = "=TOS|MARK!'" 'Single then Double Quote at the end
StkSym = "." & Cells(CurRow, 1) '''Period is needed for Options
ExpDt = Cells(CurRow, 2)
StrkPr = Cells(CurRow, 3)
CallPut = Cells(CurRow, 4)
YYMMDD = Right(ExpDt, 2) & _
WorksheetFunction.Text(Month(ExpDt), "00") & _
WorksheetFunction.Text(Day(ExpDt), "00")
DDEFormula = DDERoot & _
StkSym & _
YYMMDD & _
CallPut & StrkPr & "'" '''Dbl, Single, Dbl Quotes
Cells(CurRow, 5) = DDEFormula
Selection.Replace What:="=", Replacement:="="
Next
End Sub
Sub MakeDDE()
Dim ExpDt As Date
For CurRow = 2 To 11
DDERoot = "=TOS|MARK!'" 'Single then Double Quote at the end
StkSym = "." & Cells(CurRow, 1) '''Period is needed for Options
ExpDt = Cells(CurRow, 2)
StrkPr = Cells(CurRow, 3)
CallPut = Cells(CurRow, 4)
YYMMDD = Right(ExpDt, 2) & _
WorksheetFunction.Text(Month(ExpDt), "00") & _
WorksheetFunction.Text(Day(ExpDt), "00")
DDEFormula = DDERoot & _
StkSym & _
YYMMDD & _
CallPut & StrkPr & "'" '''Dbl, Single, Dbl Quotes
Cells(CurRow, 5) = DDEFormula
Selection.Replace What:="=", Replacement:="="
Next
End Sub