Insert Picture and format

J

jcluxor

Hi all,

I'm new here. I need your help guys.

I working on a button in a word document that inserts a picture an
after that that I want to format that picture.

I'm using

Set flg = Application.Dialogs(wdDialogInsertPicture)

To insert the picture, but I want to apply a style to that pictur
just after I insert it.

Can some help me with this?

Thanks
jc
Houston, Texa
 
J

Jonathan West

Hi jcluxor

Use the Display method to display the dialog but not act on it. After
displaying it, you can pick up the filename the user selected, and then
insert the picture and style it in any way you want.

To see what propety name you need for the dialog, take alook at the help
topic "Built-in dialog argument lists"
 

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