Userform - Copy a page based on entry

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi everyone,

I am trying to create a user form to act on a word document so that a user
can enter details into the form, and then the values will be enterred into
the document where applicable.

One thing I need to do is copy one of the pages (say page 10) a number of
times based on a value selected in a drop down box.

1. My first question is how do I get a list of values in a drop down box in
a user form (as I would with Data > Validation > List in Excel)?

2. How do I copy a page in Word based on the value in the drop down box?

Thanks!
Dave
 
1. See http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm

2. There are no pages in Word - the displayed page is a rather vague concept
that depends on a number of factors including margins, printer driver etc
and may be made up of several elements. In order to know how best to handle
the problem, you really need to explain what you mean by a 'page' in this
context. Rather than copy and paste pages it would probably be better to
insert the texts from file or autotext.

If you require specific userform programming advice you would be better
asking it in the vba userform forum.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top