Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2022, 07:11 AM
p45cal's Avatar
p45cal p45cal is offline Need help in open a PowerPoint presentation form Excel and save it with different name Windows 10 Need help in open a PowerPoint presentation form Excel and save it with different name Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

shouldn't the line which causes the error begin:
objPPTX
rather than

PPTX
?


Part 2:


objPPTX.ActivePresentation.saveas Filename:="C:\Users\s.kalantari\Desktop" & cell01 & ". PPTX"
(not tested. cell01 shouldn't contain any illegal filename characters)


I suspect there's a way to change file names without opening the file at all.
Reply With Quote
Reply

Tags
saveas

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interactive chart link from Excel to PowerPoint presentation vili999 PowerPoint 0 04-13-2018 09:11 AM
Not able to Open/ save Excel Documents M S Bhurji Excel 2 05-16-2016 08:33 AM
open powerpoint 2011 presentation in PC jerryny PowerPoint 0 09-10-2014 03:42 PM
How can I save a macro in the PowerPoint 2007 default presentation mrayncrental PowerPoint 1 06-09-2014 06:13 AM
How do I auto-update the TODAY excel function within PowerPoint show presentation? Powerpoint100 PowerPoint 0 02-12-2013 01:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft