Macros VB for Word

Employer
[no-member:pro]Grigory[/no-member:pro]Grigory
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentwithout prepayment
Payment methodsBank transfer, Electronic money
Acceptance of requestsclosed
Project description
Hello, please help for a little money with macros, you need 2 macros for Ward 2016x64.
1. I have a macro that changes the masiv to masiv over the text. But he changes only the desired combination to the specified one, and you need to make him look at whether there is a number left and right of the combination and only then start replacing. In other words, the macro needs to look at the presence of the numbers on the left and right of each combination in the masiva and then start replacing it.
2. You need a macro for a couple of lines, when you run it will save the open document, cut the number of pages of the document by half and save the document standard command Save in the same catalog from where the document is opened, but under the name "temp.docx". The original files will always be docx and will have more than 1 page. In other words, the macro from the open document when running the macro will save it, cut the second half of the document and delete it and save the document by a copy in the same directory with the name "temp".
1. I have a macro that changes the masiv to masiv over the text. But he changes only the desired combination to the specified one, and you need to make him look at whether there is a number left and right of the combination and only then start replacing. In other words, the macro needs to look at the presence of the numbers on the left and right of each combination in the masiva and then start replacing it.
2. You need a macro for a couple of lines, when you run it will save the open document, cut the number of pages of the document by half and save the document standard command Save in the same catalog from where the document is opened, but under the name "temp.docx". The original files will always be docx and will have more than 1 page. In other words, the macro from the open document when running the macro will save it, cut the second half of the document and delete it and save the document by a copy in the same directory with the name "temp".