[mso] Re: Word 2002: VB forms, combo boxes and merging with outside data!

  • From: Cathy.Evans@xxxxxxxxx
  • To: mso@xxxxxxxxxxxxx
  • Date: Wed, 14 Sep 2005 09:06:39 -0400

Fantastic, thanks, Lisa!   I sure do wish I could start from Access, but in
this case it needs to be reversed from the way I usually set up the forms
(access 1st!).  Dian sent some great links to get me started on connecting
to a data source, I'll use access for that part.  I'm going to try that
route for the project lookup, however, I didn't know you could make a 2
column combo in Word, so that is a great answer to some other parts of the
form I was needing to resolve once I got the project lookup out of the way.
Thank you very much, Cathy


                                                                                
                                
                      "Green"                                                   
                                
                      <1z@xxxxxxxxxxxxxx>      To: <mso@xxxxxxxxxxxxx>          
                                
                      Sent by:                                                  
                                
                      mso-bounce@freelist      cc:                              
                                
                      s.org                                                     
                                
                      09/13/2005 06:33 PM      Subject:  [mso] Re: Word 2002: 
VB forms, combo boxes and merging 
                      Please respond to           with outside    data!         
                                
                      mso                                                       
                                
                                                                                
                          ..... 
                                                                                
                                




Hi Cathy,

If this was ms access you could prob use sub forms.... but I'm
assuming it isn't.

I think you are right in thinking you need to use if.. then.. else.

Personally, I would probably use a 2 column combo box and populate it
with the project name and description. You don't actually need to show
the description if you don't want to but it's there and "connected" to
the correct project that's been chosen in the combo box.

It's a while since I did anything like this so I'm perhaps not
remembering exactly but...

The code may go something like....
... and the number of columns needs to be set in the combo box
properties...

  .Additem ""
  .List(ListIndex,0).text = "Project00"
  .List(ListIndex,1).text = Description00

... and so on.

If this makes not a lot of sense get back and we'll delve a bit.

HTH
Lisa







-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain proprietary,  
business-confidential and/or privileged material.
If you are not the intended recipient of this message you 
are hereby notified that any use, review, retransmission, 
dissemination, distribution, reproduction or any action taken
in reliance upon this message is prohibited. If you received
this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.  
-------------------------------------------------------------------------------------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: