change style of sentences starting and ending with specific character

E

excel.name

Hello,

I'm searching for a solution for the following problem.

I have documents as follows:

{d5852xez}
this is text
qsfdqf
{586252}
45
{c6864}

What I need to do is to make a button in word that puts all the lines
in the document that start with "{" and end with "}" to a certain
already existing style. It's always the same style.

Please note that I do not know how to program in vba unless I can just
copy the code from your answer off course ;-)

Any suggestions?
 

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