Results 1 to 7 of 7
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    WordBasic.InsertAddress

    The wordbasic.insertaddress statement brings up the insert address window in Word 97. Can this form be modified/customized?
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Kevin,

    The VBA equivalent for Wordbasic.InsertAddress is Application.GetAddress

    I haven't used this myself. There is halp available on it; for modifying defaults on dialog boxes, have a look at "Displaying built-in Word dialog boxes" and "Built-in dialog box argument lists"
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Hey Geoff,

    Thanks for the pointer. I don't think, however, that GetAddress is one of the built-in wdDialogs. If I'm mistaken, please correct.[img]/w3timages/icons/smile.gif[/img] It's nevertheless a pretty inflexible method. For instance, you cannot specify which address book or contact list to display and search as default. You cannot add to or remove controls from the form. You cannot indicate which address properties display in the list, etc. etc.

    Does anyone out there have experience with enumerating an Exchange Contact List (in a public folder!). I can do all the custom form stuff, I just can't figure out how to get the addresses into an array or comobox. Help!
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  4. #4
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Kevin,

    It looks like you're right about the first bit.

    As regards using a combobox- there's a VERY rough example in this post- just as a starting point
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  5. #5
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Geoff, I was hot to go for your combobox code, but it has nothing to do with Contact lists. I think you misunderstood my request. But thanks anyway. I'm researching the Outlook object model and will find something.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  6. #6
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Kevin,

    It sounds like a new question for the Outlook forum might be in order. I don't mean a cross-post of course- but it looks as if you now need some knowledge of "the other side".
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  7. #7
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: WordBasic.InsertAddress

    Geoff,

    I agree. I've been looking there and was not sure it was the place for VBA questions re: Outlook. I'll post and see what happens. [img]/w3timages/icons/nuts.gif[/img]
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •