Macros/VBA from PP 2003 to PP 2000

G

Guest

Hi,

I've developed a PP presentation in Powerpoint 2003. It contains a macro
with VBA code, and it works all right when I run it in PP 2003.

But when I send this to a collegue it does not work.
He's allowed macros on level medium - the macro / VBA still doesn't run.
I wonder if the reason might be that he has Powerpoint 2000 installed.
I did try to save the presentation in an older PP format, but it did not help.

Anyone out there who's heard about a similair problem?
 
S

Shyam Pillai

It may also depend on the code. You may be accessing certain objects which
may not be available in the older version.

--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com
 
G

Guest

OK, you might be right - havn't thought about that.

Have any idea where to find whether certain objects are possible to use in
PP 2000?

In this case I use e.g. "oShp.Rotation" and "Rnd".
Suspicious?
 
B

Bill Dilworth

Many picture-based shapes in PowerPoint 2000 could not be rotated. I
suspect this is the problem.

Bill Dilworth
 
G

Guest

You have probably hit the nail on the head.
I've created a figure in MS Visio and pasted this as a picture into my
presentation.
And it's this picture I try to rotate. Works fine in PP2003, not at all in
PP2000.

Hmm, seems hard to solve in PP 2000 then. Or does anyone have a clue?

Thanks a lot for great help so far!

Leffe
 
S

Steve Rindsberg

You have probably hit the nail on the head.
I've created a figure in MS Visio and pasted this as a picture into my
presentation.
And it's this picture I try to rotate. Works fine in PP2003, not at all in
PP2000.

Hmm, seems hard to solve in PP 2000 then. Or does anyone have a clue?

Yep: select the visio shape in PPT, ungroup it, then regroup it.

Now you can rotate it manually or via code, even in 2000
 
G

Guest

Hi,

I've tried this, but it doesn't seem to work.

I select the visio shape, Ungroup it, and then immediately use the command
Regroup.
After that I want to activate my macro with the Action Settings command, but
this command is not possible to use - the command is "grey".

Did I get it wrong?
 
S

Steve Rindsberg

Hi,

I've tried this, but it doesn't seem to work.

I select the visio shape, Ungroup it, and then immediately use the command
Regroup.
After that I want to activate my macro with the Action Settings command, but
this command is not possible to use - the command is "grey".

Let's break it down to see where this is going wrong.

First, try ungrouping several times and then select all the bits and group
again.

Then see if you can rotate the drawing using the Draw toolbar, Rotate or Flip
command.

Once that works, try assigning your macro to action settings for the shape.
If that still doesn't work, post the code in the macro here.
 
G

Guest

Hi,

I can't Ungroup more than once - after the first Ungroup the command is not
available (it's "grey").

After my Ungroup, and then selecting all bits and a new Group, I tried your
advice (used Rotate in the Draw toolbar), and this seems to work alright. The
whole figure is possible to rotate manually.
But - it's not possible to assign a macro to the figure. The Action Settings
command is not available when I right-click on the figure.

So my problem seems to be something with the figure, rather than the macro,
since the macro can't even by activated. PP appears to regard my figure as
one that is not possible to attach a macro to.

I really appreciate your efforts, but if my problem is to odd I won't be
disappointed if you throw in the towel .... I will survive...:). But if you
still find it interesting you are more than welcome with further advices.

//Leffe
 
S

Steve Rindsberg

Hi,

I can't Ungroup more than once - after the first Ungroup the command is not
available (it's "grey").

AHA. I'd forgotten that 2000 won't allow you to assign action settings to a
group.

So try this instead:

Select the group
From the Edit menu, choose Copy
From the Edit menu, choose Paste Special
In the Paste Special menu, choose Picture (Enhanced Metafile) and click OK

You can assign action settings to the newly pasted picture.
 
G

Guest

Hi,

The last advice, selecting the group and Paste Special/Enhanced Metafile,
seems to work. I can make the object spin througt Action settings after this.

Thanks a lot for your time and advices!

Leffe
 
S

Steve Rindsberg

Hi,

The last advice, selecting the group and Paste Special/Enhanced Metafile,
seems to work. I can make the object spin througt Action settings after this.

Thanks a lot for your time and advices!

My pleasure. Thanks for sticking with it .. we both learned a new trick thanks
to you.
 

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