Hey all,
This should be a quickie compared to some of the problems you're all dealing with. I am trying to input a text string disguised as a formula into an active cell. I have code:
In this case, I want the below string in the active (selected) cell when the program runs.
I have also tried .Text .String and a couple others but those are giving me additional errors. Why isn't it taking? Thanks in advance!
This should be a quickie compared to some of the problems you're all dealing with. I am trying to input a text string disguised as a formula into an active cell. I have code:
Code:
Dim n As String, a As String, r As Integer, b As Inte
n = "Test_STEEL 5in"
a = "C"
r = ActiveCell.Row
b = r - 1
ActiveCell.Value = "='" & n & "'!" & a & "" & b & ""
In this case, I want the below string in the active (selected) cell when the program runs.
Code:
='Test_STEEL 5in'!C8
I have also tried .Text .String and a couple others but those are giving me additional errors. Why isn't it taking? Thanks in advance!