Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-10-2023, 11:02 AM
mjungli mjungli is offline [Reviving solved thread for additional help] Exporting Tracked Changes and Comments to Excel Windows 11 [Reviving solved thread for additional help] Exporting Tracked Changes and Comments to Excel Office 2021
Novice
[Reviving solved thread for additional help] Exporting Tracked Changes and Comments to Excel
 
Join Date: Jan 2023
Posts: 3
mjungli is on a distinguished road
Default [Reviving solved thread for additional help] Exporting Tracked Changes and Comments to Excel

Hello!



I am attempting to use the code from this post by Macropod using Office 365. I think the VBA language must have changed a bit from when it was written, as I'm getting a couple of errors not previously solved by the thread https://www.msofficeforums.com/word-...nts-excel.html. I was able to use the code from a separate post to export just comments, but would really like to be able to get the tracked changes as well.

The first error is 424 for
Code:
 Select Case wdRng.StoryType
I looked around on MS VBA help and updated it to this, which allowed the code to continue running (although I'm unsure it actually fixed it).
Code:
 Select Case Rng.StoryType
Then I received a 5852 error with this, which I commented out to try to move on.
Code:
Case wdMainTextStory, wdTextFrameStory
                StrOut = StrOut & "Page: " & .Range.Characters.First.Information(wdActiveEndAdjustedPageNumber) & vbTab & .Author & vbTab & .Date & vbTab
The same error 5852 occurred later with this. I tried to update from .Type to RevisionType after some searching, but the workbook results in no output aside from column titles.
Code:
Select Case .Type
I would appreciate help with these errors!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Reviving solved thread for additional help] Exporting Tracked Changes and Comments to Excel Exporting Tracked Changes and Comments to Excel alzasp Word VBA 10 06-14-2022 02:13 AM
Merging certain Tracked Changes and Comments The_Chefkoch Word 0 02-01-2017 07:22 AM
Why nobody marks his thread as solved?! Catalin.B Excel 0 08-24-2011 06:23 AM
Mark a thread as solved Matrix Forum Support 0 04-22-2009 04:48 PM

Other Forums: Access Forums

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


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