Activate File Properties Dialog upon Opening File

A

Andy

Is there a way to open the file properties dialog box automatically
upon opening a powerpoint file? We are trying to setup a presentation
logging procedure to allow for searching within the metadata for
specific information. It would be nice to Murphy-proof our procedure
with this dialog opening automatically. Any suggestions?
 
A

Andy

Thanks for the link to that add-in. I knew about the auto open
function but I did not know it was tied to that particular add-in.

I had developed a macro that would open the properties box using
shortcuts to the menus (ie. ALT-f and then i for properties), would
you have any references to building a custom dialog to store data in
the meta data fields or just a reference of how to launch the
properties dialog using code. I have searched extensively and found
nothing.

Thanks again.
 
S

Shyam Pillai

Andy,
You can use the following to launch the Properties dialog:
' -------------------------------------
If Windows.Count >0 then CommandBars.FindControl(ID:=750).Execute
' -------------------------------------
 
A

Andy

Shyam,

Thanks for you post. I tried the command and it works once then it
doesn't work again. When I reload your Auto_event.ppa it sometimes
works again. I am not sure but I may not be setting it up right.

This is what I have:

Auto_Event.ppa is loaded on powerpoint.

Macro is included in file with the following code (really simple)

Private Sub Auto_open()
If Windows.Count > 0 Then CommandBars.FindControl(Id:=750).Execute
End Sub

Would you have any recommendations how to include the commandbar
command in an add-in that will load everytime?

Thanks.
 

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