Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2014, 07:51 PM
marksm33 marksm33 is offline How to use an ActiveX Control to insert a multi select listbox in Word Windows 7 64bit How to use an ActiveX Control to insert a multi select listbox in Word Office 2013
Novice
How to use an ActiveX Control to insert a multi select listbox in Word
 
Join Date: Jan 2014
Posts: 12
marksm33 is on a distinguished road
Cool How to use an ActiveX Control to insert a multi select listbox in Word

Hello, there,

I have tried to go down the Userform VBA route, but, alas! I'm a novice and I really need to get this done.



I would like to have in my Word document a listbox that is clicked upon by the user. A preset list of sentences comes up in a list. Each with a checkbox next to them on a separate line.

The user checks which sentences he or she would like to use and the listbox is then replaced by the user's selection.

In my template there would be 17 different listboxes, each with an entirely separate set of sentences for the user to choose from.

Can anyone help me out??? I'm stuck

I've attached a sample of two lists that I would like to have turn into listboxes as examples. The user must be able to make MULTIPLE selections. Thanks,

Mark
Attached Files
File Type: docx Sample.docx (27.0 KB, 16 views)
Reply With Quote
  #2  
Old 01-29-2014, 05:04 PM
fumei fumei is offline How to use an ActiveX Control to insert a multi select listbox in Word Windows 7 64bit How to use an ActiveX Control to insert a multi select listbox in Word Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Well a userform is the best way to go, but...

Start with some editing of the sentences. It is utterly impossible to have all that text in a displayed box. Find some way of making the text shorter, at least for display purposes.

if that is not acceptable, the only practical way I can see is your tables as they are. Put a checkbox into each row. The user checks what they want. Then a procedure goes through and removes the rows without a check. Then convert the table to text.

Alternative: a series of inputboxes with the text of each sentence. Click yes, it is included. Click no, do not include it.

But doing the full text in listboxes is not really doable.
Reply With Quote
  #3  
Old 01-29-2014, 05:21 PM
marksm33 marksm33 is offline How to use an ActiveX Control to insert a multi select listbox in Word Windows 7 64bit How to use an ActiveX Control to insert a multi select listbox in Word Office 2013
Novice
How to use an ActiveX Control to insert a multi select listbox in Word
 
Join Date: Jan 2014
Posts: 12
marksm33 is on a distinguished road
Question Checkboxes or Userforms

Thanks for the reply. The users would be able to identify the sentences by the first seven or eight words. They use them over and over again, so visibility of the entire text would not be necessary.

That all being said, sorry for being such a newbie, how would I go about creating a "procedure" to remove the unchecked rows and convert the remaining ones to text?

If a userform is the best way to go, how involved is it? I've read Greg Maxey's page on userforms, but I get stuck. ANY help you could provide would be really appreciated. Thanks again,

Mark
Reply With Quote
Reply

Tags
activex, listbox, multiselection

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use an ActiveX Control to insert a multi select listbox in Word Multi-select listbox help gvibe@hotmail.com Word VBA 1 07-19-2013 10:54 AM
activex windows media player control Boo Excel 0 04-25-2013 05:48 PM
How to use an ActiveX Control to insert a multi select listbox in Word Insert multi page pdf into Word 2010 document TimTDP Word 1 04-18-2012 04:22 AM
ActiveX control to list directory trew Office 1 04-17-2012 11:37 PM
How to use an ActiveX Control to insert a multi select listbox in Word Word insert only 1st page of multi-paged PDF file Evgeniy Word 1 02-04-2012 01:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:35 PM.


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