View Single Post
 
Old 01-29-2015, 04:29 PM
Guessed's Avatar
Guessed Guessed is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Assuming you are not using a multi-select listbox, the code might look like this if you also assume you want to put the contents of the second column into the location of the bookmark name which appears in the first column

ActiveDocument.Bookmarks(ListBox1Area.Value).range .text = ListBox1Area.List(ListBox1Area.ListIndex, 1)
Reply With Quote