Link to home
Start Free TrialLog in
Avatar of Ed Matsuoka
Ed MatsuokaFlag for United States of America

asked on

Deleting pages with no tables

Hi Experts!

I am going to have some documents like the one I've attached where some pages have tables and some don't. Is it possible to write a VBA macro that would go though theses documents and delete the pages that don't have tables?

Have a great day.

Ed Matsuoka
ExampleTables.docx
Avatar of Norie
Norie

Will all the documents you want this to work on be in the same folder?

Or would you like a diaog to pick them?
Avatar of Ed Matsuoka

ASKER

I could easily put them in the same folder but wow you are being through. I was just thinking about running it for the open document.
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This works great. You guys are the best!