I gang

Make a Macro for MS Word to search-replace strings with regex

I need a Macro for Microsoft Word to search and replace strings in the document.

Full regex power should be available; meaning that Microsoft VBScript Regular Expressions 5.5 will be used. (The reference is already activated on my system.)

The macro should be able to execute whatever search-and-replace operations I define. I imagine it like this:

On starting the macro, a dialogue will appear with two fields where I can enter my search string and my replace string.

On klicking the "Go" button in the dialogue, the macro will search and replace text in the document which is currently open.

If text has been highlighted in the document, the replacement should be executed only on the highlighted section.

If nothing has been highlighted, the replacement should be executed in the entire document.

As an additional feature, the dialogue should keep the latest 30 (or more) search-and-replace combination in a dropdown field or so, so that I can re-use them later without much thinking about the syntax.

The macro code can be delivered as a simple txt-file. I can take the code and put it into one of my modules.

Alternatively, you can send a [url removed, login to view] with the macro included.

Færdigheder: Visual Basic for Apps

Se mere: word search replace macro, word reference, visual basic for applications, use regular expressions, text string search, string search in c, starting with visual basic, search text string, search string in c, search string c, search string, search c string, regex is, regex in c, regex c, c string search, c search string, vbscript for, to search, regex &, microsoft word only, microsoft macro, macro microsoft word, is into one word, search search

Om arbejdsgiveren:
( 34 bedømmelser ) Munich, Germany

Projekt-ID: #4035985

Tildelt til:

pashute

Please see Pseudo code below. About 3 hours to do and test. Code will be clean and well documented. Available for any changes requested or problems to be fixed until completion. But I'm available only from Su Mere

$30 USD på 1 dag
(2 bedømmelser)
2.8

9 freelancere byder i gennemsnit $68 for dette job

sumon355

Hello, I am interested to do this work.

$60 USD in 7 dage
(7 bedømmelser)
3.2
ZeusMan

Looking forward to working with you...

$30 USD på 1 dag
(4 bedømmelser)
3.2
eried

Hi, I can make a really nice form with all your specs.

$55 USD in 2 dage
(2 bedømmelser)
3.1
eugene2006

Hi. I am interested in your project.

$30 USD in 7 dage
(1 bedømmelse)
2.8
subramaniankv

Hi, I am expertise in VBA. I would be able to do this with all functionality.

$200 USD in 15 dage
(6 bedømmelser)
2.1
irchiz

Ready to collabotate on a perfect macro solution.

$80 USD in 7 dage
(0 bedømmelser)
0.0
zkutch

Hello. More 20 years programming experience. See pmb, please.

$100 USD in 0 dage
(0 bedømmelser)
0.0
stechsun

Lets Start...

$30 USD på 1 dag
(0 bedømmelser)
0.0