How to find a specific word in word docuent

Hello Guys,

Anyone knows how to select a specific word in a given word document.

For example ii want to select the word “Process diagram” and make it bold.

Thanks and regards
Charith

1 Like

Hi there,

For more info in the basics. Kindly refere to this:

Furdermore, you can use string.contains(“Process diagram”) to find a word in a given string.
Once you have the desired word you can change its structure by a hotkey command. Refere to this:

https://www.veodin.com/keyrocket/shortcut-database/word-2013-shortcuts

Hopefully this helps you!
Kind Regards,
JR

1 Like

Hi Buddy @charith_wickramasing

Here is your xaml buddy for reference
its resolved
readword.zip (20.0 KB)

Cheers

1 Like

Thanks mate, i’ll try and let you know :slight_smile:

Thanks Buddy, I’ll try it

Hi @Palaniyappan,

One small question, actually i have few other words after the “process diagram”, do you know how to select that entire row and make it bold.

Thank a lot for the help

Buddy in that case read the text with read text activity and get the line index of the line were this word “process diagram” occurs along,
Once you find the line of strings, assign it to a variable and enter the same in the above type into activity mentioned in xaml file

Cheers…

1 Like

Hey @Palaniyappan,

Would you be able to provide me a example. Highly appreciate your help buddy :slight_smile:

1 Like

Here is your xaml buddy

readword_modified.zip (20.9 KB)

Cheers

1 Like

Thanks a lot buddy,
but seems like there is an error in the file. indexing%20error

Thanks again :slight_smile:

1 Like

Buddy It was this for each loop buddy that was missing

Is that working buddy

Cheers @charith_wickramasing

1 Like

Hey Thanks a lot, buddy, it works. :slight_smile:

Thanks and regards
Charith

1 Like

Cheers buddy
Keep going

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.