Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Filling a combo box from another workbook

This may be a stupid question for you gurus, but I need to
fill in a combo box from a column in another worksheet in
another workbook.

For example, I am designing a userform to allow the user
to scroll through a list of states, they can click on a
state and hit the Ok button.
I'm using a combobox and a command button, if this is not
the best design please feel free to let me know as this is
my first time doing this.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Filling a combo box from another workbook


-----Original Message-----
This may be a stupid question for you gurus, but I need

to
fill in a combo box from a column in another worksheet in
another workbook.

For example, I am designing a userform to allow the user
to scroll through a list of states, they can click on a
state and hit the Ok button.
I'm using a combobox and a command button, if this is not
the best design please feel free to let me know as this

is
my first time doing this.

Thanks
.
Use VBA and the Add Item method to populate the combo

box. Then you can get the information from a different
place.

Thanks,
Greg
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Filling a combo box from another workbook

A combobox and a command button sound fine for picking a state.

--
Regards,
Tom Ogilvy

John wrote in message
...
This may be a stupid question for you gurus, but I need to
fill in a combo box from a column in another worksheet in
another workbook.

For example, I am designing a userform to allow the user
to scroll through a list of states, they can click on a
state and hit the Ok button.
I'm using a combobox and a command button, if this is not
the best design please feel free to let me know as this is
my first time doing this.

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Filling a combo box from another workbook

Thanks for the feedback Tom, now can you tell me how to
get the list of states into the combo box?

Thanks.
-----Original Message-----
A combobox and a command button sound fine for picking a

state.

--
Regards,
Tom Ogilvy

John wrote in

message
...
This may be a stupid question for you gurus, but I need

to
fill in a combo box from a column in another worksheet

in
another workbook.

For example, I am designing a userform to allow the user
to scroll through a list of states, they can click on a
state and hit the Ok button.
I'm using a combobox and a command button, if this is

not
the best design please feel free to let me know as this

is
my first time doing this.

Thanks



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Filling a combo box from another workbook

If you have them on a worksheet, go into the vbe and get the properties
window for the combobox. go to the rowsource property and put in text like

Sheet1!A1:A50

this should load the combobox with your state names when the form is shown.

--
Regards,
Tom Ogilvy

"John" wrote in message
...
Thanks for the feedback Tom, now can you tell me how to
get the list of states into the combo box?

Thanks.
-----Original Message-----
A combobox and a command button sound fine for picking a

state.

--
Regards,
Tom Ogilvy

John wrote in

message
...
This may be a stupid question for you gurus, but I need

to
fill in a combo box from a column in another worksheet

in
another workbook.

For example, I am designing a userform to allow the user
to scroll through a list of states, they can click on a
state and hit the Ok button.
I'm using a combobox and a command button, if this is

not
the best design please feel free to let me know as this

is
my first time doing this.

Thanks



.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Box List in another workbook PerplexedinKY Excel Discussion (Misc queries) 0 August 9th 06 03:04 PM
filling combo boxes from single outer source alekm Excel Discussion (Misc queries) 1 February 17th 06 01:49 PM
Filling fields when sending a workbook. Flima Excel Discussion (Misc queries) 0 February 15th 06 08:24 PM
Printing a workbook one row at a time filling in a form with the d LostinData New Users to Excel 1 May 6th 05 08:16 PM
Filling multiple cells based on 1 combo box selection Serrena Carter Excel Programming 1 August 30th 03 02:14 PM


All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"