Creating a formula in VBA with quoted strings
Figured it out by trying out stuff from other posts in this group:
Cells(BottomRow, 6).Formula = "=text(" & Mid(Trim(Cells(BottomRow, 6).Formula), 2) & ", ""0.00%"" )" & " & " & Chr(34) & " / " & Chr(34) & " & text(" & x & ", ""0.00%"" )"
where x is a real number.
|