Hi,
I've been using VBA to add the text ''Waxcap'' to a cell where the If function meets the conditions of a certain set of values being found in cells of the same row in a different column.
This is my code when conditions are met:
Then Cells(i, designations).Value = "Waxcap; " & Cells(i, designations).Value
End If
This works fine when the cell in the designations column is blank (I get the value "Waxcap;" returned). But when there is already a value in the cell in the designations column then I only get the original value returned, and it does not add "Waxcap;".
Thank you for your help
I've been using VBA to add the text ''Waxcap'' to a cell where the If function meets the conditions of a certain set of values being found in cells of the same row in a different column.
This is my code when conditions are met:
Then Cells(i, designations).Value = "Waxcap; " & Cells(i, designations).Value
End If
This works fine when the cell in the designations column is blank (I get the value "Waxcap;" returned). But when there is already a value in the cell in the designations column then I only get the original value returned, and it does not add "Waxcap;".
Thank you for your help