How do I assign a value cell in a column that has a dynamic row va
Worksheets("Address").Range("Y&rwcount").Value = TextBox22.Value
Try this instead:
Worksheets("Address").Range("Y" & rwcount).Value = TextBox22.Value
Also, if you want the result to be a number (rather than text), use
CLng(TextBox22.Value), CDbl(TextBox22.Value), etc.
Hth,
Merjet
|