using a mew style in a textbox

J

joão Correia

Hi, i'm trying to use some command on my macro that makes
the user introduce the text using a style that I created.

To use a default word font, I could use something like
Selection.Font.Name = "NameOfTheFont"

But, How can I make the user to use my style?

Thanks,

joão
 
D

Dave Lett

Hi joão,

Is this what you're looking for?

Selection.Style = "Name of Style"

HTH,
Dave

Hi, i'm trying to use some command on my macro that makes
the user introduce the text using a style that I created.

To use a default word font, I could use something like
Selection.Font.Name = "NameOfTheFont"

But, How can I make the user to use my style?

Thanks,

joão
 

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