L
Lucian Sitwell
I have made a user defined vba form in word to add the non-mailing addresses
from Outlook (if needed to the document) (since the address book dialog will
only let me paste in the mailing address in Word 2003).
I am able to load the data into an array, which displays properly in the
combo box. However, I can't get the full data from record in the combo box
to display in the text box.
Dim MyArray
Dim intIndex As Integer
intIndex = cboContact.ListIndex
txtContactAddress.Text = MyArray(intIndex)-------------this line gives
me a type mismatch.
Also, although the array is declared in the initialization of the form, I
get an error, if I don't declare it separately in the subroutine for the
text box. Is this supposed to happen? Why?
Any help would be appreciated.
Thanks
Lucian Sitwell
from Outlook (if needed to the document) (since the address book dialog will
only let me paste in the mailing address in Word 2003).
I am able to load the data into an array, which displays properly in the
combo box. However, I can't get the full data from record in the combo box
to display in the text box.
Dim MyArray
Dim intIndex As Integer
intIndex = cboContact.ListIndex
txtContactAddress.Text = MyArray(intIndex)-------------this line gives
me a type mismatch.
Also, although the array is declared in the initialization of the form, I
get an error, if I don't declare it separately in the subroutine for the
text box. Is this supposed to happen? Why?
Any help would be appreciated.
Thanks
Lucian Sitwell