I am trying to use the menu item from MS Word 2003:
Insert > Picture > From Scanner or Camera
I would like to be able to pull up this dialog box through a code using a Visual Basic .NET application. I recorded a macro and got the following syntax when using the menu item:
VB Code:
WordBasic.InsertImagerScan()
However, the Visual Studio IDE complains that "Name 'WordBasic is not declared". I am coding this in Visual Basic because I am creating a that uses the new Visual Studio Tools for Office application.
If for some reason this command is not supported in VBA, is there an easy way to use sendkeys?
Any help would be appreciated.
Thanks,
Brian




Reply With Quote