View Single Post
 
Old 08-06-2021, 02:00 PM
gorkac gorkac is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Jul 2021
Posts: 62
gorkac is on a distinguished road
Default Help with bookmarks in word.

Hi.
I am creating a form for Word that works with multiple bookmarks, a combo, etc.
It consists of:

1 form: with code to fill in the bookmarks and clean them.
Several modules and 1 combobox for VIA. The Word sheet has markers: denomination, term and party.

The combo will load 1 data "VIA" and a numerical value "PK".
for example: for "VIA" = NA-3010 and for "PK" = 12
So for each VIA.

I also need that, if I choose between PK 0 and 12, in the "termino" bookmark put a data: CORTES
If I choose between PK 12.1 and 20, in the "termino" bookmark put another different data: BUÑUEL
and if I choose between PK 21 and 32, in the "termino" bookmarks indicate: FUSTIÑANA and so on.
To make matters worse, the "match" bookmarks can also vary the data, depending on all of the above.
I would need the simplest code, because I am not going to work only with two conditions, I explain:
There are highways, for example the N-121, which has several "termino", some of these terminos depend on one party or another.
Sorry to bother but I got stuck.
I upload the file.

Thanks in advance.
Attached Files
File Type: dotm Plantilla carreteras.dotm (23.3 KB, 6 views)
Reply With Quote