Solved

Auto-run Macro on opening PowerPoint

Posted on 2004-03-25
5
817 Views
Last Modified: 2008-02-20
Hello!

I have created a macro in PowerPoint to update slides with external data.  I'd like this macro to run automatically upon opening the file but don't see how to do that.

Could someone please enlighten me?

Thanks.
0
Comment
Question by:xfvgdrthbdtyvhgscv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 22

Expert Comment

by:Dreamboat
ID: 10683442
Not happening.
PowerPoint doesn't provide for any auto macros.
:(
0
 
LVL 22

Accepted Solution

by:
Dreamboat earned 500 total points
ID: 10683465
What is the external data?
There are several pretty good Google hits:

Graphs don't update:
http://www.rdpslides.com/pptfaq/FAQ00025.htm

Similar:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;qQ267974
0
 
LVL 33

Expert Comment

by:Jeroen Rosink
ID: 10684869
Hello xfvgdrthbdtyvhgscv,

perhaps this might help you. Its about how to reset slides etc. You might put your code in the example.

PPT2000: How to Use VBA Events to Reset Slide Builds
http://support.microsoft.com/default.aspx?scid=kb;en-us;276353

regards,

Jeroen
0
 
LVL 1

Author Comment

by:xfvgdrthbdtyvhgscv
ID: 10687169
Dreamboat,

Thanks.  Saved me a bunch of time trying to do the impossible.  The Excel paste-in example helps too.  My external data source is going to be a form on a web page.  I've found, built, and successfully tested, VBA to open an IE window fro within a PPT macro, and direct that window to my data source url.  I'm going to read the form values on the page and paste them into the tables of the charts in the presentation slides.

Since I can't have the macro auto-run, I'll put a button object on the first slide marked "Click me to update presentation" which will launch the macro - or so PPT help says I can, haven't tried it yet.

I have been unable to get PPT to record a macro of replacing chart table cell values and don't much relish coding it all by hand because there are are over a hundred slides.  I'll open a new 500 point question on that, if you're interested.

Roos - thanks anyway for the input.
0
 
LVL 22

Expert Comment

by:Dreamboat
ID: 10687772
Happy to help.
I'm no coder.
:)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question