I have a column with dates in a table called Transactions in Excel. I have a column called transactions and I would like to iterate through the descriptions and assign them to a string. My test code is as below and I am getting a error 1004.
For i = 1 To Range("Transactions").Rows.Count
' Set group to the value returned from the DEscription Table
strGroup = Range("Transactions[Description]")(i)
Next i
I need help i tried adding .Value at the end and it did not help anything
I want to basically search every cell in a particular column for specific words and if they match. Copy the text to a new column. So that's why I want to get every description as a string and then use it as a parameter in the InStr function

Stringis one value. ARangeis one object representing one or more cells in a worksheet;Rangehas aValueproperty, but if the range is for more than one cell then it gets you an array of values, which you can't legally assign to aString. By the way, iterating cells the way you're doing here, is the single slowest way to go about it. And even if the assignment was legal, you're overwriting it with every new iteration.strGroupwill only ever contain whatever the last iteration assigned it to, which defeats the entire point of looping in the first place (just read the last value if what you want is the last value). I'd love to help, but I've no idea what you're asking / trying to do.