Control Selection

C

Chris

I am trying to place text boxes on a form in the following oderer
Location 1 = textbox1
location 2 = textbox2
etc
The locations will be kept the same except for the number of locations used

The textboxes will vary because each textbox will have a priority associated
with it. i.e. The address textboxes will have the top 5 priorities however
if no address is present then the other textboxes should be at the top
location.

There will be 14 variables and around 50 word documents. All word documents
have bookmarks and all the bookmarks will be in different order.

I have the program looking up the bookmark names on the word document. I
would like the program to determine how many bookmarks there are and then
create this many txtboxes on the form and populate the txtboxes with the
correct information.

In some of the documents I have the bookmark postcode first, then street
address, then city. This is producing the txtboxes on the form in a the
vertical order of postcode, street, city etc.

If I assign each variable a priority i.e. street = 1, city = 2, country = 3
etc the I would like to get the code to lookup the values and place the text
boxes on the form in the correct order.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top