Thread: [Solved] Macro for creating bookmarks
View Single Post
 
Old 07-10-2025, 01:59 AM
RRB's Avatar
RRB RRB is offline Windows 11 Office 2021
Susan Flamingo
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 302
RRB is on a distinguished road
Default Macro for creating bookmarks

Hi, Dear Friends!

This is way over my head and ChatGPT is choking on it also, so I will have to bother you friends for some help:

A macro that will:

1. search the doc for any text string formatted with the char style "myStyle".

2. Create a bookmark named as the the text string found (I guess the spaces will have to be removed. There will never be any special chars with that format only some Hebrew chars)

3. move till next instance and repeat till end of doc.

This will result in the making of around 800 BM. Will this make the file bloated and bogged down?

Thank you, and have a good day!
Susan Flamingo
Reply With Quote