+ Reply to Thread
Results 1 to 5 of 5

Macro to Refer the current Workbook for opening PPT Template

  1. #1
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Thumbs up Macro to Refer the current Workbook for opening PPT Template

    Hi,
    I have the following line of code in a Macro (Which u people only give me & is working Gr8. Thanks once again)
    PHP Code: 
     PPT.Presentations.Open Filename:="Z:\Monthly Reports\DU Dashboard\DU Dashboard Template.pptx" 
    What I need is, I need to change this code to get take the PPT from the file where the excel is already there so that, eventif I am not connected to network, (Z drive is my server) I can get the PPT which is in the same folder
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Macro to Refer the current Workbook for opening PPT Template

    Hi,
    Can anyone help me pls?

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Macro to Refer the current Workbook for opening PPT Template

    Hi
    does the template have the same name in the current directory? if so

    Please Login or Register  to view this content.
    might work

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Macro to Refer the current Workbook for opening PPT Template

    Hi,
    Thanks for the help.
    But I am getting the following error
    Snap1.jpg

  5. #5
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Macro to Refer the current Workbook for opening PPT Template

    Hi
    if there is a file with that name in the same directory as your workbook, try this

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1