Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-30-2016, 07:03 PM
gmaxey gmaxey is offline Output based on Combo Box selected items in Microsoft Word Windows 7 32bit Output based on Combo Box selected items in Microsoft Word Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

First of all why would you want a combobox, if your choices are fixed as described? Seems you would want a dropdown list.

I would use a dropdown list content control and then use the ContentControl_OnExit event in the ThisDocument module to evaluate the selection made and populate the data to other places. You state you need "help." What have you done for yourself?

Here is a start:

Code:
Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean)
  Select Case ContentControl.Title
    Case Is = "Section 1 Score"
      'Write some text here
      'Write this score there
    Case Is = "Section 2 Score"
      'etc.
  End Select
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Output based on Combo Box selected items in Microsoft Word Moving Selected Items from a Multiselect Listbox on a userform to a bookmark in Word marksm33 Word VBA 3 01-15-2015 07:55 PM
Output based on Combo Box selected items in Microsoft Word Need help creating a Word document that is populated based on certain selected values alidaanish Word 1 01-10-2014 10:44 PM
Output based on Combo Box selected items in Microsoft Word Combo Box Items BoringDavid Word VBA 12 12-12-2013 05:14 AM
Display paragraph of text based on value selected in combo WordWaza Word 0 08-09-2013 06:30 AM
Bold list items in a combo box DrewB Word VBA 0 07-17-2009 11:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft