L
Lena
Hi all
I have a listbox on my form that is populated using the contents of a table in another document. I'm using the users selection to replace a bookmark in yet another document. Right now when I hover over Me.listSelectedFunds.List(n) it shows two of these things "||" (don't know what they're called) at the end of the list item (or cell contents)... I believe they represent a paragraph marker and a universal monetary symbol? This is causing a break (ie new paragraph) in the text when I replace the bookmark
The following code gets rid of the paragraph mark
strEditedFundNames = Replace(Me.listSelectedFunds.List(n), Chr(10), ""
but I can't seem to find a chr equivalent of the other symbol (whatever it is)... I've been tempted to take the Len() subtract one and then take the Right().... it works, but it doesn't seem right
Any help would be greatly appreciated
Lena
I have a listbox on my form that is populated using the contents of a table in another document. I'm using the users selection to replace a bookmark in yet another document. Right now when I hover over Me.listSelectedFunds.List(n) it shows two of these things "||" (don't know what they're called) at the end of the list item (or cell contents)... I believe they represent a paragraph marker and a universal monetary symbol? This is causing a break (ie new paragraph) in the text when I replace the bookmark
The following code gets rid of the paragraph mark
strEditedFundNames = Replace(Me.listSelectedFunds.List(n), Chr(10), ""
but I can't seem to find a chr equivalent of the other symbol (whatever it is)... I've been tempted to take the Len() subtract one and then take the Right().... it works, but it doesn't seem right
Any help would be greatly appreciated
Lena