View Single Post
 
Old 11-02-2021, 01:41 PM
laith93 laith93 is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Post Search for first occurrence of certain letter in beginning of a paragraph

Hi,
Look at this image
18.png
I have a list of references (bibliography) at the end of the document, which sorted alphabetically
I want to organize them in a professional way and put them in subgroups by inserting the corresponding letter before each group of references of a certain letter.
The above image is created manually

For example:
I want to search for the first occurrence of letter A in beginning of the first paragraph which starts with A letter, then insert letter A before this paragraph and apply the style "BibloChar" to it, which is present in the attachment file.
When A is finished jump to the B letter and do the same thing, and so and so, until finishing all characters.

I want the template of the code for letters A, B, and C, then I will complete the rest of the code.

Thanks a lot.
Attached Files
File Type: docx Sample.docx (18.9 KB, 7 views)
Reply With Quote