![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Passing variable to the To field | Matthew Brewer | Outlook and VBA | 1 | June 9th 06 05:38 AM |
Variable Date Meetings | Susan Vega | Outlook - Calandaring | 1 | March 22nd 06 04:58 PM |
Outlook Application variable problem | Ram | Add-ins for Outlook | 0 | February 12th 06 02:25 PM |
Variable attachment and recipient vb | Xluser@work | Outlook and VBA | 1 | January 21st 06 09:05 AM |
string variable that contains formatting | Martin | Outlook and VBA | 4 | January 19th 06 09:49 AM |