Re: need help populating combo box on User Form

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jonathan West (jwest_at_mvps.org)
Date: 05/24/04


Date: Mon, 24 May 2004 15:54:28 +0100

Hi Scott,

Populate a 2-column array with the data you want, then set the List property
of the combobox to the array.

-- 
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup
"Scott A" <anonymous@discussions.microsoft.com> wrote in message
news:1152801c44199$981b6370$a401280a@phx.gbl...
> I'd like to add a User Form to a template that lets the
> user select from a list of possible AutoText entries (but
> not all AT) that contain pre-formatted content sections to
> the document.
>
> I've started to work on the User Form in the VB editor,
> but can't figure out how to populate the RowSource
> property of the combo box!
>
> I'd like the combo box to have two columns, one that
> contains the name of the AutoText entry to run and a
> second column that displays a label for each...
>
> Does anyone have any suggestions?
>
> Thanks,
>
> Scott A

Quantcast