Using a command button to open a Power Point file

R

Ramone

Hi Christy,

When i followed your instructions i received the
following message:

Invalid outside procedure, Do you know why i'm getting
this message?


Thanks,

Ramone
 
C

Cheryl Fischer

At what point did you receive this message? During creation of the command
button using the wizard? When you click the command button?

Please supply more detail.
 
R

Ramone

I received the message after I saved the form in design
view and clicked on the command button in form view.
 
C

Cheryl Fischer

The reason I asked if you used the wizard is that the error you report is
often due to code being placed in the Declarations section of a form's VBA
module - as opposed to in a procedure.

I'd suggest that, while in VBA, that you click Debug on the menu and then
select Compile to see exactly where the code is failing.
 

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