Templates, Macros and Pictures

  • Thread starter Thread starter Brian Siano
  • Start date Start date
B

Brian Siano

I have a series of presentations for which I have to import
a lot of pictures. Powerpoint ain't the best at handling
these properly, so I have a few questions I need answering.

1. I'd like to create a Template with Toolbars that use
particular Macros. I tried creating this, but when I create
a new Presentation from ther template, I cannot run the
Macros. They're in the new Presentation, but they can't be
run. How can I make a Template that will run embedded
Macros?

2. When I import a Picture into a Slide Layout-- by
clicking on the little icon in the object window-- is there
some way it can be auto-sized so that it fills the
available area? The pictures I'm importing are about 1/4
the size of the available area, and resizing them-- even
with macros-- is tedious. (It'd be nice if the object areas
could be set for autosize. That way, reapplying the
layout'd take care of everything properly.)

3. Okay, I created a Macro to resize selected Objects. I
did this by recording a macro, where I resized the object
to be 5" high. BUT-- when I run the macro, it seems to
resize the object by the _percentage_, rather than the
absolute value I specified, which means that some objects
get resized to a much greater height. Is there some way of
taking this macro, and forcing it to resize objects to a
_very specific_ height?

Please reply to (e-mail address removed) if you can.
 
[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]

Hello,

It sounds that, although there are workarounds (including VBA), you might
like these to be a lot easier to do in PowerPoint.

If you (or anyone else reading this message) have suggestions for how to
make one or more of these things easier to do in PowerPoint (so that you
don't have to resort to VBA or add-ins), don't forget to send your feedback
(in YOUR OWN WORDS, please) to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

It's VERY important that, for EACH wish, you describe in detail, WHY it is
important TO YOU that your product suggestion be implemented. A good wish
submssion includes WHAT scenario, work-flow, or end-result is blocked by
not having a specific feature, HOW MUCH time and effort ($$$) is spent
working around a specific limitation of the current product, etc. Remember
that Microsoft receives THOUSANDS of product suggestions every day and we
read each one but, in any given product development cycle, there are ONLY
sufficient resources to address the ones that are MOST IMPORTANT to our
customers so take the extra time to state your case as CLEARLY and
COMPLETELY as possible so that we can FEEL YOUR PAIN.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions).

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
Bill's answered a couple, I'll tackle a couple ...
3. Okay, I created a Macro to resize selected Objects. I
did this by recording a macro, where I resized the object
to be 5" high. BUT-- when I run the macro, it seems to
resize the object by the _percentage_, rather than the
absolute value I specified, which means that some objects
get resized to a much greater height. Is there some way of
taking this macro, and forcing it to resize objects to a
_very specific_ height?

Yup, no problem ... when you recorded your macro, you probably got something
like this:

With ActiveWindow.Selection.ShapeRange
.ScaleWidth 2.45, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2.65, msoFalse, msoScaleFromTopLeft
End With

To fill the slide with the picture change that to:

With ActiveWindow.Selection.ShapeRange
.Left = 0
.Top = 0
.Height = ActivePresentation.PageSetup.SlideHeight
.Width = ActivePresentation.PageSetup.SlideWidth
End With

Please reply to (e-mail address removed) if you can.

Sorry, but that defeats the purpose of a newsgroup.
 
John,
VBA isn't exactly a workaround. Heck you guys put it in the product.
Now, for the stuff you didn't put in the product, we've got
workarounds for much of that. (g)
Brian Reilly, PowerPoint MVP
 
Back
Top