Re: How can I find "binary tags" in a .PPT file using PPT 2007?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



And now that Steve has located the names

Sub zappem()
With ActivePresentation.Tags
..Delete ("___PPTMAC11")
..Delete ("___PPT2001")
..Delete ("___PPT12")
End With
End Sub

The other three tags should be there either so you might want to zap them
too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003
it was 6
--

Amazing PPT Hints, Tips and Tutorials

http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html

email john AT technologytrish.co.uk


"Steve Rindsberg" wrote:

In article <0F528807-9361-4AF4-A1CA-31D65726A978@xxxxxxxxxxxxx>, Dave Jenkins
wrote:
Take a look at this test file: http://www.mediafire.com/?ezcj9a9abnh

Worth a thousand words. <g>

If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.

If you write a little code to delete them all, you'll delete YOUR tags but 3
will still be left.

Open the untouched pres in 2003 and look at the pres.xml file in the Script
Editor and you'll see this

<p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/>
<p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/>
<p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/>
<p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/>
<p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/>
<p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/>

Delete the ones listed as binary, let it update when you close the script
editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no
backchat.

So the questions are:

- Where did the mystery tags come from? (something to do with Mac, apparently)

- And how do we squeeze 'em out of the file?

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com


.



Relevant Pages

  • Re: PowerPoint Automation
    ... the term "tags" as it has a specific meaning in PPT VBA). ... "defined" in the first row and replacing them with the data in successive rows. ... My Steve is Steve ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Mouseover images
    ... Steve when you say 'Tag' what exactly does this mean? ... Slide or Shape has a Tags collection that consists of named ... set, they're part of the presentation, and your code running on any copy of PPT ... >> Sub ToggleVisibility() ...
    (microsoft.public.powerpoint)
  • Re: Managing a PPT project judiciously
    ... Shape names and Shape tags have a lot of similarities in concept (easy ... In Excel or in PPT? ... >>>kind of reports having lets say Y slides and then Z number of Class 2 kind ...
    (microsoft.public.powerpoint)
  • Re: Managing a PPT project judiciously
    ... > Shape names and Shape tags have a lot of similarities in concept (easy ... In Excel or in PPT? ... >>> task that can be made easy by maintaining lists in Excel. ...
    (microsoft.public.powerpoint)
  • Re: Power Point 2003 - cant burn to CD
    ... Thank you again Steve. ... the re-installed file and Power Point opened it! ... (This disc still works on the desktop, even after all my failures on ... Will PPT start and open other presentations ok? ...
    (microsoft.public.powerpoint)