C
Carol G
I am trying to set the item using a variable strFullName
the variable value is "Cherif Abdallah" with the quotes included but If I
substitute the variable in the place of the name in the set item. I get an
error.
Thanks
Carol
***Everything declared here***
Dim strFullName As String
strFullName = "Cherif Abdallah"
strFullName = """" & strFullName & """"
Debug.Print strFullName
Set itm = fld.Items.Find("[FullName] = ""Cherif Abdallah""") 'This works
but I want to replace it with a variable.
the variable value is "Cherif Abdallah" with the quotes included but If I
substitute the variable in the place of the name in the set item. I get an
error.
Thanks
Carol
***Everything declared here***
Dim strFullName As String
strFullName = "Cherif Abdallah"
strFullName = """" & strFullName & """"
Debug.Print strFullName
Set itm = fld.Items.Find("[FullName] = ""Cherif Abdallah""") 'This works
but I want to replace it with a variable.