+ Reply to Thread
Results 1 to 2 of 2

Resizing Tables in a ppt

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Resizing Tables in a ppt

    I am trying to resize a table in power point and I found a routine to parse through all of the tables in all of the slides in a ppt but I am running into a mismatch error with the following code:

    Please Login or Register  to view this content.
    I am using excel and ppt 2007. I am getting a Run-Time error '13' type mismatch error at the line 'For Each ppttable In pptslide.Shapes' . I am not sure what I am missing. Can you help me?
    Last edited by teancum002; 09-17-2012 at 10:29 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419

    Re: Resizing Tables in a ppt

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

    If you are controlling PP from Excel I would fully qualify objects.

    Please Login or Register  to view this content.
    Also doesn't the shape type of table need to be msoTable rather than simply Table?

    You might want to use the HasTable property of the Shape.
    Cheers
    Andy
    www.andypope.info

+ 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