Skip to main content

How to Extract TextBox Contents from All Slides using Powerpoint VBA

Extract Text from Textboxes in Powerpoint slides using VBA

Dedicated to good blogger friend Rahul. This code snippet loops through the slides and extracts the contents of the Textboxes

Sub Extract_TextBox_Text_FromSlides()

Dim oPres As Presentation
Dim oSlide As Slide
Dim oShapes As Shapes
Dim oShape As Shape

Set oPres = ActivePresentation

' --------------------------------------------------
' coded by Shasur for http://vbadud.blogspot.com
' --------------------------------------------------

For Each oSlide In oPres.Slides
Set oShapes = oSlide.Shapes
For Each oShape In oShapes
If oShape.Type = msoTextBox Then

Debug.Print oSlide.Name & vbTab & oShape.TextFrame.TextRange.Text

End If
Next oShape
Next oSlide



End Sub

Facebook

Facebook Recommendations

Followers


Web Designing In Karachi



Haroof.com


Politics blogs

My Zimbio

Email Subscribe

Enter your email address:

Watch online Live TV

Popular posts from this blog

Matric General Group Result SECONDARY SCHOOL CERTIFICATE (S. S. C.) PART - II CLASS - X - 2010 (www.apnieyesp.com )

PASSED THE SECONDARY SCHOOL CERTIFICATE (S. S. C.) PART - II CLASS - X) ANNUAL EXAMINATION, 2010. ERRORS AND OMISSIONS EXCEPTED, CANDIDATES BEARING THE FOLLOWING ROLL NUMBERS ARE DECLARED TO HAVE PASSED THE SECONDARY SCHOOL CERTIFICATE (S. S. C.) PART - II CLASS - X) ANNUAL EXAMINATION, 2010. ------------------------------------------------- GENERAL GROUP (REG&PVT) --- GRADE..'A-ONE' ---- ----------------------- ( CANDIDATES SECURING TOTAL MARKS 680 AND ABOVE) MARKS SECURED BY THE CANDIDATES OUT OF TOTAL MARKS OF 850 ARE MENTIONED AGAINST EACH ROLL NUMBER IN BRACKET --------------------------------------------------- 601086 (689) XXX (XXX) XXX (XXX) XXX (XXX) XXX (XXX) XXX (XXX) 601327 (681) 363 (684) 364 (719) 407 (685) 664 (682) 788 (687) 601836 (692) 882 (683) XXX (XXX) XXX (XXX) XXX (XXX) XXX (XXX) 602315 (723) 316 (715) 320 (712) 321 (739) 325 (686) 326 (702) 602327 (683) 329 (70...

Imran Khan sent me inappropriate text messages, claims Ayesha Gulalai

ISLAMABAD: Former Pakistan Tehreek-e-Insaf MNA Ayesha Gulalai alleged that Imran Khan sent her inappropriate text messages. Addressing a press conference, Gulalai said she wanted to hold presser tomorrow but as some PTI women had a press conference so she had to respond. “I am not concerned about party ticket or NA-1 seat, it is an illogical allegation, she said.  “Among many things, sending text messages is one of their bad habits,” she said. Gulalai said that Imran Khan always talks about turn of people to leave, adding that now it’s the PTI chairman’s turn. “Imran Khan cannot keep himself in control,” she said. The former PTI MNA said that Imran wanted to introduce western culture. She said that she is not the only one facing such a situation, many women in the party are facing such behaviour. She said that when she was in the PPP, she felt very safe. “I am not joining Pakistan Muslim League-Nawaz,” she said.  In one of the party meetings, Imran uttered...

Labels

Show more