Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Lookup Data from Combo box

Status
Not open for further replies.

Hap007

MIS
Mar 21, 2003
1,018
US
Hi,

I have done a good deal of VB and VBA work in Access and VB, but not sure how to handle these same tasks in Excel.

I have managed to add buttons and controls in Excel and have located the code. Now I need the help.

I want to have a combo (Drop down) control lookup a job number in a remote MS Access table.

Once I have done that lookup, I want the value placed in a certain row.

The rows are for different times of the day, and the column is Job Number.

Any suggestions on getting this done?

Is there a way to double click on a cell and the lookup becomes visible and I can select a value?

I need the same lookup to fill and one of the 24 columns, based on which row the user is currently positioned.

Is this possible in Excel?
If so, any suggestions on how?
Should I use a Control on the datasheet or should I use a Form?

Thanks,
Hap...


Access Developer [pc] Access based Accounting Solutions - with free source code
Access Consultants forum
 



Hi,

How often do Job Numbers get added/deleted from your Access DB?

I'd probably use Data > Import External Data... to ADD a querytable to an empty sheet to return the Job Numbers. I would NAME the range of return values on that sheet.

On your main sheet, use Data > Validation - LIST in the cells where you want to select a Job Number, referencing the Range Name of the return data.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi,


Id there any way I can link the Access data to the Lookup.

This data 'Job Numbers' will be added to during the day, so you never will know if you are looking at the most current data if you rely on an import.

Thanks,
Hap...

Access Developer [pc] Access based Accounting Solutions - with free source code
Access Consultants forum
 
You have posted in the MS Office forum. Therefore, I am suggesting Office functionality.

The QueryTable can have a switch set to refresh every x minutes

If you want a code solution, you'll need to ask in Forum707.


Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top