B
Brian
I'm working with Outlook 2002
I have been working on a project to consolidate a number of categories in a
public folder. The easiest way I found was to export the 14,000+ contacts
to an excel spreadsheet and do a find/replace. That part worked just fine.
The first problem I ran into was when I imported the contacts back into a
working folder it changed the File As to Last, First. I found a KB article
(http://support.microsoft.com/?kbid=269172) that stepped me through the
process of making a custom form that changed the File As back to Company
only for all the contacts. Very slick! Here's the other "side-effect" from
the export/import process though... I need to change all the contacts so the
"This is the mailing address" checkbox is checked. I tried to modify the
code to the custom form I built with the help of the MS KB article. Here's
a snippet:
-----------------------
Case "Company"
If MyItem.CompanyName <> "" Then
MyItem.FileAs = MyItem.CompanyName
MyItem.MailingAddressCheckbox = True
Else
MyItem.FileAs = MyItem.LastNameandFirstName
MyItem.MailingAddressCheckbox = True
End IF
-----------------------
I get an error message of: "Object doesn't support this property or method:
'MyItem.MailingAddressCheckbox'".
I hope this all makes sense. I'm hoping someone can help and shed some
light on this. My only alternative is to manually have someone touch all
14000+ contacts. I don't think that is a very good option.
Any help is appreciated.
- Brian
I have been working on a project to consolidate a number of categories in a
public folder. The easiest way I found was to export the 14,000+ contacts
to an excel spreadsheet and do a find/replace. That part worked just fine.
The first problem I ran into was when I imported the contacts back into a
working folder it changed the File As to Last, First. I found a KB article
(http://support.microsoft.com/?kbid=269172) that stepped me through the
process of making a custom form that changed the File As back to Company
only for all the contacts. Very slick! Here's the other "side-effect" from
the export/import process though... I need to change all the contacts so the
"This is the mailing address" checkbox is checked. I tried to modify the
code to the custom form I built with the help of the MS KB article. Here's
a snippet:
-----------------------
Case "Company"
If MyItem.CompanyName <> "" Then
MyItem.FileAs = MyItem.CompanyName
MyItem.MailingAddressCheckbox = True
Else
MyItem.FileAs = MyItem.LastNameandFirstName
MyItem.MailingAddressCheckbox = True
End IF
-----------------------
I get an error message of: "Object doesn't support this property or method:
'MyItem.MailingAddressCheckbox'".
I hope this all makes sense. I'm hoping someone can help and shed some
light on this. My only alternative is to manually have someone touch all
14000+ contacts. I don't think that is a very good option.
Any help is appreciated.
- Brian