Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2023, 05:01 AM
PingLu PingLu is offline Feedback for Word Highlight Color Redaction Project Windows 11 Feedback for Word Highlight Color Redaction Project Office 2021
Novice
Feedback for Word Highlight Color Redaction Project
 
Join Date: Feb 2023
Posts: 1
PingLu is on a distinguished road
Default Feedback for Word Highlight Color Redaction Project

Hi all,


I would love to get some feedback from you guys regarding my project:
GitHub - pinglu/word-vba-macro-highlight-redaction: Redacts / Replaces highlighted text in a word file

As you guys have a pinned post with redacting a word document (here), I thought it might be interesting.

It's still under development and there are definitely bugs, and I also want to add some additional features soon.
I'd love to make the code use more subs and functions, but as I haven't fully understood the doc / range objects, it's quite difficult for me. So it's more spaghetti code than I'm used to. (The range.start and range.stop seem to be pointers and their modification might or might not propagate to the parent... this leads to very interesting problems down the road - any hints here are welcome)


What I am looking for:
- Feedback & Bugs, especially regarding performance
- any tips on how to package these files?
- any tips on how to use the Visual Studio / Git ? My current workflow involves a lot of copy and paste
- would it make sense to use look more into using C# or COM (not sure what this is) to achieve better performance?

I've already tried the Word JS API - that's not super useful, as one cannot search for highlighted text... of course one could go through each char, but I'm not sure if the gains in performance are worth it. (I would definitely be faster and could integrate git...)
I've also tried using python and the docx plugin, it works a little, but it really feels like an unstable hack at this point, especially with nested tables and similar edge cases. Also python-docx has some limitations and the repo isn't maintained anymore...

Any pointers on how to improve are very much welcomed!

Have a great one,

Ping
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add multiple different color highlight buttons to toolbar nhcowboy1 Word VBA 6 10-16-2020 08:03 PM
Feedback for Word Highlight Color Redaction Project Remove highlight with specific color rekent Word VBA 2 08-01-2020 10:59 AM
the cursor keep jumping during redaction Bogy1000 Word 5 11-26-2016 07:26 PM
Change highlight color maceslin Word 3 04-30-2013 04:43 AM
Feedback for Word Highlight Color Redaction Project change One highlight Color to Another Redbarn Word VBA 1 03-16-2013 02:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 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