PC Review


Reply
Thread Tools Rate Thread

Can't run macros...

 
 
Geoff
Guest
Posts: n/a
 
      7th Jul 2008
I have a PowerPoint presentation that I use each month as a template for a
presentation I make. I have a macro that identically sizes and positions each
chart.

A few weeks ago, we installed a new server and the path to the new server is
not the same as the old one. Somehow, this has affected the macro and I get a
dialog saying: "PowerPoint can't run this macro because it can't open
\\##.##.##.##\Monthly meetings\2007.04.ppt." where I guess the above number
is the IP address of the old server (though I've disguised it here).

The thing is, though, I copied the 2007-04 presentation to the hard drive
and it still gives me the error. I've even started with a new presentation
and copied the text of the VBA to the new file. Any ideas? TIA Geoff
 
Reply With Quote
 
 
 
 
Geoff
Guest
Posts: n/a
 
      7th Jul 2008
Never mind. I figured it out. I was running the macro from a toolbar button.
All I had to do was delete it and make another.
 
Reply With Quote
 
David M. Marcovitz
Guest
Posts: n/a
 
      7th Jul 2008
It appears that the full path of the old server is hard-coded into the
VBA. Can you edit the VBA to use the new path? If that doesn't work, I
wonder if you can copy the code here so we can see what it is doing.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?R2VvZmY=?= <(E-Mail Removed)> wrote in
news:A76D3D5B-0C84-4701-8EF5-(E-Mail Removed):

> I have a PowerPoint presentation that I use each month as a template
> for a presentation I make. I have a macro that identically sizes and
> positions each chart.
>
> A few weeks ago, we installed a new server and the path to the new
> server is not the same as the old one. Somehow, this has affected the
> macro and I get a dialog saying: "PowerPoint can't run this macro
> because it can't open \\##.##.##.##\Monthly meetings\2007.04.ppt."
> where I guess the above number is the IP address of the old server
> (though I've disguised it here).
>
> The thing is, though, I copied the 2007-04 presentation to the hard
> drive and it still gives me the error. I've even started with a new
> presentation and copied the text of the VBA to the new file. Any
> ideas? TIA Geoff
>


 
Reply With Quote
 
David M. Marcovitz
Guest
Posts: n/a
 
      7th Jul 2008
It appears that the full path of the old server is hard-coded into the
VBA. Can you edit the VBA to use the new path? If that doesn't work, I
wonder if you can copy the code here so we can see what it is doing.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?R2VvZmY=?= <(E-Mail Removed)> wrote in
news:A76D3D5B-0C84-4701-8EF5-(E-Mail Removed):

> I have a PowerPoint presentation that I use each month as a template
> for a presentation I make. I have a macro that identically sizes and
> positions each chart.
>
> A few weeks ago, we installed a new server and the path to the new
> server is not the same as the old one. Somehow, this has affected the
> macro and I get a dialog saying: "PowerPoint can't run this macro
> because it can't open \\##.##.##.##\Monthly meetings\2007.04.ppt."
> where I guess the above number is the IP address of the old server
> (though I've disguised it here).
>
> The thing is, though, I copied the 2007-04 presentation to the hard
> drive and it still gives me the error. I've even started with a new
> presentation and copied the text of the VBA to the new file. Any
> ideas? TIA Geoff
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros =?Utf-8?B?SmF5?= Microsoft Excel Programming 1 30th Mar 2007 12:02 AM
choose default macros Not Enabled / Macros Enable Setting =?Utf-8?B?QkVFSkFZ?= Microsoft Excel Programming 2 30th Jun 2006 01:07 PM
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Microsoft Excel Programming 0 12th Dec 2004 09:19 PM
Removing Excel message to enable macros or disable macros =?Utf-8?B?Ym1pbGxlcjI2Mw==?= Microsoft Excel Misc 2 13th Oct 2004 02:39 PM
Re: The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros. Sue Mosher [MVP-Outlook] Microsoft Outlook Installation 0 17th Feb 2004 05:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:20 AM.