Reputation: 768
How do I launch the spell check and grammar check using VBA, such that misspelt words get highlighted in each shape (Text Area) in each slide?
I am creating a log which records spelling mistakes.
Sending text to Word for spell check is not an option because text format may differ.
Upvotes: 1
Views: 2279
Reputation: 44
I was looking into this as well. I am running the VBA in Excel 2007 on a Powerpoint 2007 presentation. The best thing I figured out so far is initiating spell check using:
SendKeys "{F7}", True
Upvotes: 2
Reputation: 21752
if the powerpoint is stored in pptx the spell checking information is part of the saved XML so one way to do it would be running thourgh the XML
e.g a section like the one below has an error
<a:rPr dirty="0" smtClean="0" err="1"
Upvotes: 2