Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2020, 11:35 AM
LMF5000 LMF5000 is offline How can I remove all text from a document, leaving only the images? Windows 10 How can I remove all text from a document, leaving only the images? Office 2016
Novice
How can I remove all text from a document, leaving only the images?
 
Join Date: Oct 2020
Posts: 2
LMF5000 is on a distinguished road
Default How can I remove all text from a document, leaving only the images?

As the title says, I have a large collection of documents containing text, tables, bulleted lists and figures. The figures have the layout "top and bottom" or "square" and have a caption that's grouped to each figure.



I would like to delete all the text in the document, leaving only the figures (with accompanying captions). How can I do that in an automated way?

Ideally I'd like the figures to end up on different pages (not all on top of each other).

I wouldn't mind using macros if necessary.
Reply With Quote
  #2  
Old 11-01-2020, 03:20 AM
macropod's Avatar
macropod macropod is offline How can I remove all text from a document, leaving only the images? Windows 10 How can I remove all text from a document, leaving only the images? Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,711
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

You should be able to delete all text with a wildcard Find/Replace, where:
Find = [!\/]{1,}
Replace = ^12

Any tables will remain, but will have no text. Provided your images aren't anchored to the same locations, they'll be placed on separate pages.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-03-2020, 04:54 AM
LMF5000 LMF5000 is offline How can I remove all text from a document, leaving only the images? Windows 10 How can I remove all text from a document, leaving only the images? Office 2016
Novice
How can I remove all text from a document, leaving only the images?
 
Join Date: Oct 2020
Posts: 2
LMF5000 is on a distinguished road
Default First attempt

Hi Paul,

When I tried the find and replace with default options it made 0 replacements and the document remained unchanged.

When I tried again with wildcard search turned on it resulted in an error - "the find what text contains a pattern match expression which is not valid"

Could you explain how the pattern works so that maybe I could tailor it to my document?

Regards,
Luke
Reply With Quote
  #4  
Old 11-03-2020, 05:18 AM
macropod's Avatar
macropod macropod is offline How can I remove all text from a document, leaving only the images? Windows 10 How can I remove all text from a document, leaving only the images? Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,711
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Quote:
Originally Posted by LMF5000 View Post
When I tried again with wildcard search turned on it resulted in an error - "the find what text contains a pattern match expression which is not valid"
Evidently, then, you're using a system with non-English regional settings. In that case, use:
Find = [!\/]{1;}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I remove all text from a document, leaving only the images? Remove all the images in a document, including the new lines alex100 Word VBA 13 05-26-2020 01:22 AM
Protecting the word document, but leaving free the style stateri Word 1 06-25-2019 12:40 PM
How can I remove all text from a document, leaving only the images? How to remove text from Word Document foneunlocker Word 3 11-28-2014 12:51 AM
Remove all images from a Mac OS X Word 2008 Document? qcom Drawing and Graphics 0 04-23-2011 06:48 PM
How can I remove all text from a document, leaving only the images? Remove text in start up document Sheila Word 1 09-30-2010 03:33 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft