Re: need help populating combo box on User Form

From: Scott A (anonymous_at_discussions.microsoft.com)
Date: 05/24/04


Date: Mon, 24 May 2004 08:13:08 -0700

Jonathan -

Thanks for the tip - I'd seen references to an array in
the Help file, but I don't have the entire Help file, so I
couldn't get instructions for creating an array!!!

You wouldn't by chance know of any resources that describe
this procedure in VBA?

Thanks,

Scott
>-----Original Message-----
>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
>
>.
>



Relevant Pages

  • Re: Array of byte of unknown size
    ... The example given in the control's help file is for Visual Basic - so ... same thing with a variant array in Delphi ... I see out of memory errors in your future. ...
    (borland.public.delphi.language.objectpascal)
  • Re: arithenco Help
    ... You might be right about it having to do with the number of significant numbers in the array. ... I accidentally discovered that if I quantize A and then pass the quantized A with the original 'counts' to arithenco it works perfectly. ... Here's a desciption of it from the help file: ... "The vector counts represents the source's statistics by listing the number of times each symbol of the source's alphabet occurs in a test data set." ...
    (comp.soft-sys.matlab)
  • Re: opening a file problem
    ... file names (even if only one filename is selected). ... So you have to deal with an array of values not a single string. ... Dim FName As Variant ...
    (microsoft.public.excel.programming)
  • Re: Tips on domain aggregate replacements
    ... array of variant of your records. ... See the help file. ... > need to run the statement from VBA. ... > I know how to run action queries using RunSQL, but can I run select ...
    (microsoft.public.access.modulesdaovba)
  • Re: SetIndexBufferData
    ... short rather than an array of integer? ... example in the help file, but with just partial success, right now, ie, for ... less than around 600 values in the index buffer). ... > typeof, 0, numVertices); ...
    (microsoft.public.win32.programmer.directx.managed)