Consulting

Results 1 to 4 of 4

Thread: Re-positioning a table on a slide

  1. #1
    VBAX Regular
    Joined
    Feb 2012
    Posts
    41
    Location

    Re-positioning a table on a slide

    I am using PowerPoint2010.

    I need to re-position a table on a slide depending on the shape of a chart. I've written a line of code that does it (see below). However, the units that move the table up and down are neither centimeters or inches. I've found numbers between 47 and 98 move the table approximately 3/4 of an inch. But, what do these numbers represent? Does anyone know? Thanks.

    Code that moves the slide up and down:

    ActivePresentation.Slides(1).Shapes("differences").Top=??

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    PowerPoint code works in POINTS

    Have a look at "Points conversions" in out vba tutorials

    http://www.pptalchemy.co.uk/powerpoi...rials.html#vba
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Regular
    Joined
    Feb 2012
    Posts
    41
    Location
    Thanks John. I've got your "Free Tutorials" bookmarked, although not knowing the units were called "Points" I might not have looked at that one without your direction! Wonder why they could not have just used cm's or inches? That would have been too straight forward for Microsoft. Ah, so much to learn.

  4. #4
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    Points are the same everywhere. Americans don't understand cm - that's why you can set the grid to 1/8 or 1/12 of a centimetre!!! ;-)
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

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