em.
07-13-2008, 10:50 PM
Hi there,
I have been searching around quite a bit and not found an answer that works for me. Hopefully I can get further in this forum. Thanks for any help :)
I've created a userform in Word and added the following code in an attempt to format the contents of a multiline textbox into a bulleted list when the user clicks on the OK command button:
With ActiveDocument.Bookmarks("FaxPoints").Range
.Text = strFaxPoints
.ListFormat.ApplyBulletDefault
End With
This code only seems to apply the bullets to the first line of textbox contents. Can anyone please advise if there is a way to get all the paragraphs in the textbox to format as bullets regardless of how many paragraphs are used? The user hits Enter to get to the next line of the textbox.
Thanks heaps em. :)
I have been searching around quite a bit and not found an answer that works for me. Hopefully I can get further in this forum. Thanks for any help :)
I've created a userform in Word and added the following code in an attempt to format the contents of a multiline textbox into a bulleted list when the user clicks on the OK command button:
With ActiveDocument.Bookmarks("FaxPoints").Range
.Text = strFaxPoints
.ListFormat.ApplyBulletDefault
End With
This code only seems to apply the bullets to the first line of textbox contents. Can anyone please advise if there is a way to get all the paragraphs in the textbox to format as bullets regardless of how many paragraphs are used? The user hits Enter to get to the next line of the textbox.
Thanks heaps em. :)