Re: How can I find "binary tags" in a .PPT file using PPT 2007?
- From: John Wilson <john AT technologytrish.co DOT uk>
- Date: Mon, 1 Sep 2008 09:41:00 -0700
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
- Follow-Ups:
- Re: How can I find "binary tags" in a .PPT file using PPT 2007?
- From: Steve Rindsberg
- Re: How can I find "binary tags" in a .PPT file using PPT 2007?
- Prev by Date: Re: import background
- Next by Date: RE: Printing Notes Pages
- Previous by thread: Re: How can I find "binary tags" in a .PPT file using PPT 2007?
- Next by thread: Re: How can I find "binary tags" in a .PPT file using PPT 2007?
- Index(es):
Relevant Pages
|