View Single Post
 
Old 05-07-2020, 09:23 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Windows 10 Office 2013
Competent Performer
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Question Extract Text from textboxes in converted PDFs

Hello, I've used the script in post #6 @ https://www.msofficeforums.com/word-...nd-shapes.html for extracting Text from various textboxes / shapes with text, etc. I have three problems, that I can't figure out how to fix it.


1- How to extract Text from Textbox in headers?
2- Even if I copy paste the text box into the body of the document, If there is a picture of a line in it, I get an error message.
It bugs here:
If Len(Trim(.TextFrame.TextRange.Text)) > 1 Then
3- What if the boxes are not inline. For instance, I have at times boxes that are Wrapping: ''Behind Text''
Any hint???
Reply With Quote