Home > Visual Basic > Visual Basic Error Opening Powerpoint

Visual Basic Error Opening Powerpoint


Please tell me what to do. All the other references match exactly with the file that runs without error on my Windows XP box. also add a PowerPointApplication.Visible=True after you createobject –Siddharth Rout Nov 29 '13 at 10:21 The code is working on my end, with two minor differences: I declared a string asked 2 years ago viewed 3757 times active 1 year ago Blog Stack Overflow Podcast #93 - A Very Spolsky Halloween Special Linked 1 VBA - Automated PowerPoint won't open .pptx Source

Using "están" vs "estás" when refering to "you" How should I deal with players who prefer "realistic" approaches to challenges? Close any open dialog boxes. PowerPoint Mac 98-2004 You don't need to do anything about macro security in order to run macros, but it's a good idea to make sure that Any other suggestions? –Andrew Kew Nov 29 '13 at 15:10 BK201 - I tried moving the file to the root directory (C:) so the path is C:\file.pptx and still Make sure you have PowerPoint installed and the file contains at least one non-hidden slide. Bonuses

What Is A Macro

Browse other questions tagged vba excel-vba windows-7 powerpoint-vba or ask your own question. I am running the following version of Windows: Windows 7 Professional Service Pack 1 64 Bit Any help would be appreciated! Why was Susan treated so unkindly? Due to this, some of the PowerPoint documents have got corrupt.

Why is the size of my email about a third bigger than the size of its attached files? The code I am trying to use it (just the problem parts shown below) Sub test() Dim PowerPointApplication As PowerPoint.Application Dim PowerPointFile As PowerPoint.Presentation Set PowerPointApplication = CreateObject("PowerPoint.Application") Set PowerPointFile = Microsoft:ref edit control Miscrosoft forms edit control Visual Basic for applications Microsoft Excel 12.0 ... Please tell me what to do.

Mac PowerPoint 2011 Choose Tools | Macro | Visual Basic Editor to start the Visual Basic Editor. Vba Download PPT Repair for Windows Narrative steps to fix PowerPoint Presentations: Download the utility on your Windows computer and install it Run the application and wait for main screen to get I am only running 12? https://support.office.com/en-us/article/Error-PowerPoint-deck-can-t-be-converted-for-presentation-82a078e2-9d30-40de-870f-e38102db8ae7 and members of the MS PowerPoint MVP team.

Reply With Quote Nov 11th, 2010,09:47 AM #5 meldoc Board Regular Join Date Jul 2009 Location Lancashire, England Posts 1,249 Re: Error in loading DLL. Advisor professor asks for my dissertation research source-code What are the alternatives to compound interest for a Muslim? Since writing this post I have also updated Office, as there was a service pack 2 released but that hasnt helped at all. How to stop this error: within the Excel Questions forums, part of the Question Forums category; The following are checked from refereces.


I have looked all over the web for an answer and cant find anything. Install Office Component Visual Basic for Applications. What Is A Macro Subtracting empty set from another Can Wealth be used as a guide to what things a PC could own at a given level? Could the problem be the PowerPoint object library version?

Follow us on ShareThis © Yodot Software, All Rights Reserved - All other trademarks acknowledged Privacy Policy Site Map http://gmailpush.com/visual-basic/visual-basic-error-when-opening-excel-2007.html I read something about Windows 7 and offline files, so tried turning that off but it didnt help. What does the following character mean in German: »Ø«? PowerPoint 97-2003 Open a presentation or start a new one.

The reason is because of the codes MsgBoxStyle and MsgBoxResult used in your application. Sorry. How to stop this error: Hi Pedie, I don't know how to help, are any references marked as missing. http://gmailpush.com/visual-basic/visual-basic-error-while-opening-excel.html Click File or Office Button, Options, Add-ins, GO.

Yes No Great! To make sure there are no serious syntax problems with the code, choose Debug, Compile from the menu bar. Now, I want to know how to resolve this error and make presentation files readable again.

Thanks anyway.

Error in loading DLL. Click OK and the problem line will be highlighted for you. Delete everything between line breaks and get rid of spaces before indented items to correct this problem. These are references, that are checked on my copy of XL2007.

Or choose Tools, Macro, Visual Basic Editor to start the editor. Is there another way to do this so that I don't get these errors? Fix it and compile again until you get no error messages. Check This Out I cant view any of my vba codes now from this file...

asked 2 years ago viewed 2454 times active 1 year ago Blog Stack Overflow Podcast #93 - A Very Spolsky Halloween Special Linked 5 Clean up Excel Interop Objects with IDisposable Simple and easy to use interface helps in repairing corrupt word document with few key strokes. share|improve this answer edited Nov 16 '14 at 15:14 sth 128k33204309 answered Nov 16 '14 at 14:12 ruedi 1,27611537 add a comment| Your Answer draft saved draft discarded Sign up Output a googol copies of a string Why are only passwords hashed?

These methods will fix error when saving PowerPoint presentation file, but if the file got corrupted after resolving the error or due to some other issue then try using online repair Excel - Tips and Solutions for Excel Privacy Statement Terms of Service Top All times are GMT -4. Not the answer you're looking for? The software provides the fast, secure and easy repair of Zip files.

I have tried running this code in both Office 2010 and Office 2007. I think the main problem becuase i have this file from office and now it is working in different computer and excel versions.... Share Share this post on Digg Del.icio.us Technorati Twitter Regards, Pedie MS OFFICE 2016/EXCEL 2016: Window7: 64BIT Reply With Quote Nov 11th, 2010,09:44 AM #4 VoG MrExcel MVP Join Date Jun Close the options dialog box, click the Developer tab then click Visual Basic to start the editor.

Or choose File | Options | Customize Ribbon and put a checkmark next to Developer in the listbox under Customize Ribbon. If so shouldn't it be PowerPointFile = PowerPointApplication.Presentations.Open(PATH_TO_FILE & "\test.pptx") share|improve this answer edited Jan 15 '14 at 15:00 demongolem 5,261115074 answered Jan 15 '14 at 14:39 John Wilson 1412 add Mac PowerPoint pre-2008 Use View, Toolbars, Visual Basic then click the Visual Basic Editor button on that toolbar. Share Was this information helpful?