MsgBox show in Instance of Excel

P

Picos Autom

A procedure in Access automate an instance of Excel with this code:

Set xlApp = New Excel.Application
xlApp.Visible = True
xlApp.Workbooks.Open "C:\Trial.xls"
xlapp.InputBox "Hello" 'This work but doesn't the right solution.
xlApp.MsgBox "Hello" 'This not work, and is the right solution.

Now, How can I show that message in Excel, with code from another
application like Access?
 

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