Calling Insert->Picture->From File... programmatically

V

Veronique722

Hello,

I want to call the Insert->Picture->From File... function from my code... is
it possible?? If not, I have to make my own dialog box and call the
page.Import method.

Thanks in advance!

Vero
 
H

Hin

In VBA:

Application.DoCmd visCmdFileImport

But seems an exception will be thrown if user click cancel.
 
V

Vidush

I had the same problem with 'DoCmd visCmdFormatCustPropEdit' (Opens the
costume properties window), the cancel click raised an exception as wall, the
only thing you can do is to ignore.
 

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