Inserting a Symbol and Text into a Bookmark

L

Lee Kiwiflame

I want to insert a 'tick" symbol into a bookmark and then add text after the
tick symbol.

The user will tick a checkbox and if the checkbox is true, then I want to
insert the symbol and text into the bookmark. If the user ticks 3
checkboxes, then I want to add a tick symbol then text, then a tab, tick
symbol and text, then another tab and another tick symbol and text.

Can you do the same with a variable? I did have the area set as an
ActiveDocument.Variables but couldn't work out how to do it with that. I
then changed it to a bookmark.

Can anyone please help urgently?
 
D

Doug Robbins - Word MVP on news.microsoft.com

Where are the checkboxes that the user may or may not tick?

Take a look at the Checkbox template available at

http://www.addbalance.com/word/download.htm#CheckboxAddIn



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
D

Doug Robbins - Word MVP on news.microsoft.com

About the only way that I know to insert a tick symbol using code is to
create and autotext entry that contains the Wingdings symbol for the tick
that you want (in a box or by itself) and then use code to insert the
autotext entry.

In you case, in the template that contains the userform, I would create
autotext entries for each of the possible combinations of checkboxes being
ticked on the userform and then use code on the userform to determine the
appropriate autotext entry to be inserted.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top