Reply
 
Thread Tools Display Modes
  #1   Report Post  
Steve
 
Posts: n/a
Default import an excel list into a word drop-down form

I would like to convert a column in excel into a drop-down list in a word
form. The column is over 400 rows long. How do I do this?
  #2   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default import an excel list into a word drop-down form

Dropdown lists can contain only 25 entries, which in your case is probably a
good thing. Do you really expect users to scroll through a dropdown list of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list in a word
form. The column is over 400 rows long. How do I do this?


  #3   Report Post  
Steve
 
Posts: n/a
Default import an excel list into a word drop-down form

Thanks,
How do I import a 25-item list? All I know how to do is enter each entry
individually.

"Suzanne S. Barnhill" wrote:

Dropdown lists can contain only 25 entries, which in your case is probably a
good thing. Do you really expect users to scroll through a dropdown list of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list in a word
form. The column is over 400 rows long. How do I do this?



  #4   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default import an excel list into a word drop-down form

I don't know of any other way, either, but if you post in one of the
programming NGs, someone may be able to tell you how to populate a list
using VBA.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Steve" wrote in message
...
Thanks,
How do I import a 25-item list? All I know how to do is enter each entry
individually.

"Suzanne S. Barnhill" wrote:

Dropdown lists can contain only 25 entries, which in your case is

probably a
good thing. Do you really expect users to scroll through a dropdown list

of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list in a

word
form. The column is over 400 rows long. How do I do this?




  #5   Report Post  
Tony Jollans
 
Posts: n/a
Default import an excel list into a word drop-down form

Here is some basic code which will do it:

Set xlApp = CreateObject("Excel.Application")
xlApp.Workbooks.Open "C:/Path To/Workbook.xls"
With Selection.FormFields("Dropdown1").DropDown.ListEnt ries
.Clear
For i = 1 To 25 ' Rows wanted
.Add Name:=xlApp.activesheet.Cells(i, "A") ' in column "A"
Next
End With
xlApp.Quit
Set xlApp = Nothing

--
Enjoy,
Tony


"Suzanne S. Barnhill" wrote in message
...
I don't know of any other way, either, but if you post in one of the
programming NGs, someone may be able to tell you how to populate a list
using VBA.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup

so
all may benefit.

"Steve" wrote in message
...
Thanks,
How do I import a 25-item list? All I know how to do is enter each

entry
individually.

"Suzanne S. Barnhill" wrote:

Dropdown lists can contain only 25 entries, which in your case is

probably a
good thing. Do you really expect users to scroll through a dropdown

list
of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list in a

word
form. The column is over 400 rows long. How do I do this?







  #6   Report Post  
Steve
 
Posts: n/a
Default import an excel list into a word drop-down form

Thank you.
What is the procedure for entering a code?

"Tony Jollans" wrote:

Here is some basic code which will do it:

Set xlApp = CreateObject("Excel.Application")
xlApp.Workbooks.Open "C:/Path To/Workbook.xls"
With Selection.FormFields("Dropdown1").DropDown.ListEnt ries
.Clear
For i = 1 To 25 ' Rows wanted
.Add Name:=xlApp.activesheet.Cells(i, "A") ' in column "A"
Next
End With
xlApp.Quit
Set xlApp = Nothing

--
Enjoy,
Tony


"Suzanne S. Barnhill" wrote in message
...
I don't know of any other way, either, but if you post in one of the
programming NGs, someone may be able to tell you how to populate a list
using VBA.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup

so
all may benefit.

"Steve" wrote in message
...
Thanks,
How do I import a 25-item list? All I know how to do is enter each

entry
individually.

"Suzanne S. Barnhill" wrote:

Dropdown lists can contain only 25 entries, which in your case is

probably a
good thing. Do you really expect users to scroll through a dropdown

list
of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list in a

word
form. The column is over 400 rows long. How do I do this?






  #7   Report Post  
Tony Jollans
 
Posts: n/a
Default import an excel list into a word drop-down form

Wrap the code I posted with this line in front:

Sub FillDropDown()

and this line behind:

End Sub

and see: http://www.gmayor.com/installing_macro.htm

--
Enjoy,
Tony


"Steve" wrote in message
...
Thank you.
What is the procedure for entering a code?

"Tony Jollans" wrote:

Here is some basic code which will do it:

Set xlApp = CreateObject("Excel.Application")
xlApp.Workbooks.Open "C:/Path To/Workbook.xls"
With Selection.FormFields("Dropdown1").DropDown.ListEnt ries
.Clear
For i = 1 To 25 ' Rows wanted
.Add Name:=xlApp.activesheet.Cells(i, "A") ' in column "A"
Next
End With
xlApp.Quit
Set xlApp = Nothing

--
Enjoy,
Tony


"Suzanne S. Barnhill" wrote in message
...
I don't know of any other way, either, but if you post in one of the
programming NGs, someone may be able to tell you how to populate a

list
using VBA.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Steve" wrote in message
...
Thanks,
How do I import a 25-item list? All I know how to do is enter each

entry
individually.

"Suzanne S. Barnhill" wrote:

Dropdown lists can contain only 25 entries, which in your case is
probably a
good thing. Do you really expect users to scroll through a

dropdown
list
of
400 items?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.

"Steve" wrote in message
...
I would like to convert a column in excel into a drop-down list

in a
word
form. The column is over 400 rows long. How do I do this?








Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i set up template in vbeditor without proggramming language ARRRGH New Users 4 October 1st 05 03:19 AM
Envelope Address GR New Users 5 April 24th 05 09:48 PM
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM
WordPerfect keyboard macro>Word equivalent? Anty New Users 2 March 13th 05 06:23 PM
Continuous breaks convert to next page breaks Jennifer Hunt Microsoft Word Help 2 December 30th 04 05:45 PM


All times are GMT +1. The time now is 10:51 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"