Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Add ability to excel to create dynamic drop-down(CTRL+L) lists us.

I tried building this but I don't think it's possible. It would be nice if a
web query could be dumped into excel then a drop-down list is populated by
that data. I THINK it could be done a very round about way, but it would be a
hack at best.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Add ability to excel to create dynamic drop-down(CTRL+L) lists us.

Hi,
By dropdown, if you mean ComboBox, it should be pretty easy, and it doesn't
require any code:
1. Web Query
- In a sheet , say ShQuery, create your webquery.
- The resulting range is given a sheet level name, say External_Data1.
- Now hide the sheet in visual basic editor through the Properties Window
of that sheet by setting its Visible property to xlSheetVEryHidden.
- set properties for this query as you wish. Eg: refresh on book open or
every x minutes. Don't display headers....
2. Combobox
- select the other sheet, where you want the combobox to appear.
- Display the Control Toolbox toolbar (menu View Toolbars Control
Toolbox toolbar).
- add a combobox to the sheet
- select the combobox and click the Properties icon from the Control
Toolbox toolbar: the Property Window for the combo apears.
- set the ListFillRange property to source data ie the named range:
ShQuery!External_Data1

Done!
Now, everytime the query refreshes, the combo contents is automatically
updated by excel.

Regards,
Sebastien

"RobC" wrote:

I tried building this but I don't think it's possible. It would be nice if a
web query could be dumped into excel then a drop-down list is populated by
that data. I THINK it could be done a very round about way, but it would be a
hack at best.

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
How to create 2 dependent drop down lists from 1 original drop dow Caroline Excel Discussion (Misc queries) 5 May 1st 09 02:19 PM
Dynamic drop-down lists based on an initial value selection Scott K Excel Discussion (Misc queries) 5 January 29th 08 05:39 PM
Drop down lists that auto create and then filter the next drop down list [email protected] Excel Worksheet Functions 2 September 30th 07 11:53 AM
How to create Cascading Drop-Down Lists? John Excel Worksheet Functions 1 October 31st 06 08:21 PM
How do I create drop down lists in Excel for correct data entry Utpal Kapadia Excel Discussion (Misc queries) 1 January 21st 06 02:27 PM


All times are GMT +1. The time now is 05:27 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"