Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 97 - extract data from COMBO BOX to Database

I've been having quite a bit of fun.

Need to get a formula working that will extract the choice selected i
a combo box in Excel 97 to another sheet within the same file.

Here's a quick summary:
1. Excel 97 (soon to be Excel 2002)
2. Need formula to extract "selection" of combo box to a database shee
within the same excel file.
3. The page with comboboxes is labeld "MR"
4. The database page is "CentralDatabase"
5. Combo Box has been labeled "Combobox1"
6. The Combo Box pulls from data on "Data" sheet in file.

7. The formula currently looks like this:

**************
Sub Control_on_worksheet()
Dim mypick As Variant
Sheets("CentralDatabase").Range("D4") = Combobox1.Value
' Empty out the drop-down.
End Sub
**************

Something is missing.

Dan
:confused

--
Message posted from http://www.ExcelForum.com

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
Extract data from another database Montu Excel Worksheet Functions 2 February 22nd 08 01:20 AM
Extract data from database Montu Excel Worksheet Functions 8 February 19th 08 01:55 PM
Manipulation of Data extract from Access Database Chase Excel Discussion (Misc queries) 2 July 19th 07 07:42 AM
Adding database data to a combo box... Lyndon Excel Discussion (Misc queries) 1 July 27th 05 10:42 AM
extract data from combo box n use it in SQL benj Excel Discussion (Misc queries) 2 February 16th 05 09:54 AM


All times are GMT +1. The time now is 01:47 AM.

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"