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.
 
Top