Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2021, 11:16 AM
conveniencestorewoman conveniencestorewoman is offline Word count with AND without notes from multiple documents Windows 10 Word count with AND without notes from multiple documents Office 2016
Novice
Word count with AND without notes from multiple documents
 
Join Date: Dec 2021
Posts: 1
conveniencestorewoman is on a distinguished road
Default Word count with AND without notes from multiple documents

Hello! I am completely new to VBA but want to compile the word count with notes, AND the word count without footnotes, of multiple documents. (In case that's not clear--I want to end up with one word count that is the sum of the body text and notes from all these documents, and another that is just the sum of the body text from these documents.)



The closest I've gotten to figuring out how to do this is trying to use the code from this post: https://www.msofficeforums.com/37775-post3.html

However, when I run it, I get run-time error 5825, "Object has been deleted."

I'm running Windows 10 and Office 2016.

Thank you!
Reply With Quote
  #2  
Old 12-06-2021, 02:04 PM
Guessed's Avatar
Guessed Guessed is offline Word count with AND without notes from multiple documents Windows 10 Word count with AND without notes from multiple documents Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

As per my reply in that thread, move the line up two lines. The document was closed so it is no longer available for returning its Name.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word count with AND without notes from multiple documents Combine Multiple Word Documents macropod Word VBA 0 09-04-2019 12:09 AM
I need to count based on multiple criteria in multiple columns rachaels54 Excel 1 04-18-2017 03:20 PM
search on multiple word documents Guy Roth Word 7 03-06-2017 01:31 PM
Working with end notes in two documents cheffie Word 2 10-02-2013 07:10 AM
Word count with AND without notes from multiple documents Word count in multiple documents cyberpaper Word 5 07-27-2012 07:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:49 AM.


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