Excel 2k7 & DGET() in actual database

JET_Fusion

New Member
Joined
Mar 10, 2009
Messages
5
Hi

I'm well versed in Excel, but I've never used the DGET() function before.

Problem: have data in an Access database query that changes daily and I need to put this data into an Excel spreadsheet; I don't want to do it manually. I can't use a macro. LookUp's seem cumbersome.

The DGET() function, by its definition, seems to be just the thing. I can get this thing to work in another worksheet, but I can't figure out how to get it to look within an actual database.

What's the syntax for directing the DGET() function to look at an actual database file? Is there a better way to do this?

Thanx...JET_Fusion
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi,

One approach might be a query table? This could be done without code and set to refresh on file open so that it would be updated every day. Suggest you google for "examples of Excel external data queries". By using appropriate SQL you should be able to get any result you need. Please post again if you want assistance with any SQL.

Regards, Fazza
 
Upvote 0

Forum statistics

Threads
1,222,095
Messages
6,163,899
Members
451,865
Latest member
dunworthc

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top