PDA

View Full Version : How to place dropdown list next to text



YigalB
08-12-2013, 01:40 AM
I am writing VBA code to build a WORD form that includes several lines.Each line has is combined of test and DropDown list.I use TypeText to print the text, and I use wdContentControlDropdownList to create the drop down menu.And I use TypeParagraph to move to the following line.It looks something like that:first line: xxxxxxxx , and DropDown list .2nd line: yyyyyyyy , and DropDown list .3rd line: zzzzzzzz , and DropDown list .But when I add the 2nd line, the drop down of first line goes down as well, and I lose the page layout.How can I control the location of the drop down menu?

Doug Robbins
08-12-2013, 05:34 PM
It would be best if you showed the actual code, but you probably need to use


& vbCr &

after each DropDown list.